chiark / gitweb /
From Peter Maydell (/u2/pmaydell/iwjbackup/) as per <E156bwm-0005xq-00@watchdragon...
[chiark-utils.git] / backup / bringup
index 6bcd5d579b317f236a7198e0762a1f22a88aedb6..ffca871f0588c8249e40acbb025e85769436fb4e 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
+# Very simple: extract the default runlevel from /etc/inittab
+# and change to it with telinit.
 
 runlevel=`sed -ne '/^id:/ s/.*:\([0-9]\):.*/\1/p' /etc/inittab`
 telinit $runlevel
-chvt 11
+# This switches to virtual console 11, but I don't think I want that -- PMM 
+#chvt 11