diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-21 03:51:38 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-21 03:51:38 +0200 |
commit | c910640fdd12b3a4c78cb56717e6018a25139b86 (patch) | |
tree | 1c266ca8c187830cc2b2e93d10b531928ea32b2a /rc/bin/inst/mainloop | |
parent | b44038fec0e84eece7c0143c59f3e991c55a6147 (diff) |
inst: remove fdisk/prep stuff from mainloop, remove inst/startwin
Diffstat (limited to 'rc/bin/inst/mainloop')
-rwxr-xr-x | rc/bin/inst/mainloop | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/rc/bin/inst/mainloop b/rc/bin/inst/mainloop index 94d58efc4..f57c37098 100755 --- a/rc/bin/inst/mainloop +++ b/rc/bin/inst/mainloop @@ -1,20 +1,11 @@ #!/bin/rc -sleep 86400 & cd /bin/inst . defs fn sigint { } coherence -disks=`{ls /dev/sd*/data >[2]/dev/null | sed 's!/dev/(sd..)/data!\1!'} -for (i in /dev/sd*/data) - if(test -f $i) - disk/fdisk -p $i>`{basename -d $i}^/ctl >[2]/dev/null -for(i in /dev/sd*/plan9*) - if(test -f $i) - disk/prep -p $i >`{basename -d $i}^/ctl >[2]/dev/null - # we run this while() here so that ctl-d won''t exit from us -- it''ll only exit main! # main contains a while() loop too, to avoid the hit of # continually reexecing from here. |