plan9fox/sys/lib/dist/usr/glenda/bin/rc/riostart
cinap_lenrek 55af35eeeb riostart: when system uses serial console, provide a system shell on it
on systems with serial console and graphics such as the raspberry pi,
it is nice to get a system shell on the serial console even when no
monitor is connected.
2019-12-09 18:08:02 +01:00

7 lines
144 B
Bash
Executable file

#!/bin/rc
window 0,0,161,117 stats -lmisce
window -miny 130
# run a system shell on the serial console
~ $#console 0 || window -scroll console