hlfw.ca

rc

ref: 40b3d95f95fb48b806b8ff648e0fc2b26584d62c
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 128 'stats -melzs'
	window -r 0 128 140 256 'stats -melzs authy'
	window -r 0 256 140 384 'stats -melzs fs'
	window -r 0 384 140 512 'stats -melzs proxy'
	window -r 0 512 140 640 'stats -melzs altd'
	window -r 0 640 140 768 'stats -melzs hlfw'
	window -r 140 0 753 768 'rcpu -h hlfw -c tail -f /sys/log/httpd'
	window -r 753 0 1366 768 '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