git: 9front

ref: eee5cb15e7e014a6dda383d0482c43dca65b6336
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