1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/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