hlfw.ca

rc

ref: db8efd2ef8a27770b0296b58aef98b66765403c9
dir: /riostart/

View raw version
#!/bin/rc

webfs
switch($service){
case terminal
	window -r 786 640 1920 1080 'cat $home/lib/theme/grid.theme > /mnt/wsys/theme'
	window -r 0 0 140 120 'stats -melzs'
	window -r 0 120 140 240 'stats -melzs proxy'
	window -r 0 240 140 360 'stats -melzs altd'
	window -r 0 360 140 480 'stats -melzs hlfw'
	window -r 0 480 140 600 'stats -melzs authy'
	window -r 140 0 640 9999 'rcpu -h hlfw -c tail -f /sys/log/httpd'
	window -r 640 0 1040 9999 'rcpu -h altd -c tail -f /sys/log/httpd'
case cpu
	window 'cat $home/lib/theme/cpu.theme > /mnt/wsys/theme'
}

# run a system shell on the serial console
~ $#console 0 || window -scroll console
window wm