diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-10 09:14:30 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-10 09:14:30 +0000 |
commit | 2febff5948ebb7bf7092911b8fe5dc54cb36cc8b (patch) | |
tree | f8e7131ea0de5d1cda6e6b6f2318e7bc9d73e95e /rc/bin/termrc | |
parent | 6063ab829f10853df8f38ea75de826501e30907a (diff) |
boot and namespace cleanup
Diffstat (limited to 'rc/bin/termrc')
-rwxr-xr-x | rc/bin/termrc | 11 |
1 files changed, 6 insertions, 5 deletions
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)$' |