git: 9front

ref: c81b437d95c845b965b92885cc05fb0092458b6b
dir: /rc/bin/inst/halt/

View raw version
#!/bin/rc

echo -n 'Halting file systems...'

if(ps | grep -s ' cwfs$')
	echo halt >>/srv/cwfs.cmd

echo done
echo
echo Remember to take the install disk out of the drive.
echo Feel free to turn off your computer.
while()
	sleep 3600