ref: 7e2eb5f0bb283b6330eb7a09be345ad1754afc4e
parent: 8c1c1acfdb9670ccf47d7acd0c0c9e29097c64cd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 9 13:08:02 EST 2019
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.
--- a/sys/lib/dist/usr/glenda/bin/rc/riostart
+++ b/sys/lib/dist/usr/glenda/bin/rc/riostart
@@ -1,3 +1,6 @@
#!/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
--
⑨