inst: halt filesystems with fshalt

This commit is contained in:
cinap_lenrek 2011-04-29 05:50:44 +00:00
parent c0ebaf7ee8
commit 7e0519a5e4

View file

@ -1,14 +1,8 @@
#!/bin/rc #!/bin/rc
echo -n 'Halting file systems...' echo -n 'Halting file systems...'
fshalt
if(ps | grep -s ' cwfs$')
echo halt >>/srv/cwfs.cmd
echo done
echo echo
echo Remember to take the install disk out of the drive. echo Remember to take the install disk out of the drive.
echo Feel free to turn off your computer. echo Feel free to turn off your computer.
while()
sleep 3600