From 2febff5948ebb7bf7092911b8fe5dc54cb36cc8b Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 10 May 2011 09:14:30 +0000 Subject: boot and namespace cleanup --- rc/bin/termrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'rc/bin/termrc') diff --git a/rc/bin/termrc b/rc/bin/termrc index 4a652504a..f33df232f 100755 --- a/rc/bin/termrc +++ b/rc/bin/termrc @@ -5,11 +5,13 @@ NDBFILE=/lib/ndb/local mntgen -s slashn && chmod 666 /srv/slashn -# bind all likely devices (#S was bound in boot) -for(i in f t m v L P u U '$' Σ κ) - /bin/bind -a '#'^$i /dev >/dev/null >[2=1] +# bind all likely devices +for(i in S f k t m i v L P u U '$' Σ κ) + bind -a '#'^$i /dev >/dev/null >[2=1] rm -f /env/i +mount -qa /srv/usb /dev + # set up any partitions diskparts @@ -110,8 +112,7 @@ if(! ~ $"vgasize '' text none){ } rm -f '/env/fn#ask' -usbstart if (test -f /dev/apm) aux/apm -dontkill '^(ipconfig|factotum|mntgen|fossil|kfs|cwfs|cs|dns|listen|reboot)$' +dontkill '^(ipconfig|factotum|mntgen|fossil|kfs|cwfs.*|cs|dns|listen|reboot)$' -- cgit v1.2.3