~fultonbrowne/rc-scripts

ref: 68da554c01b584108eb3c7cffe86961ca09e1d2b rc-scripts/util/services -rwxr-xr-x 331 bytes
68da554c — glenda so I clearly don't know rc very well 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/rc
echo keys
keys
echo wifi login
wifi=`{read}
echo wifi device
device=`{read}
aux/wpa -p -s $wifi $device
ip/ipconfig ether $device
email-login
upas/fs
echo 'still offline? if so type yes'
offline=`{read}
if(~ $offline 'yes') echo ok
if not{
	email-login
	gridstart -m
	upas/fs
	srvtls tcp!fulton.software!19564 hq /n/hq
}