|
|
1.1 ! root 1: : /etc/shutdown 7/14/92 ! 2: : Take the system to single user mode. ! 3: : Unmount devices mounted by /etc/rc. ! 4: ! 5: /bin/echo -n 'Do you wish to shut the system down? ' ! 6: read ans ! 7: ! 8: case $ans in ! 9: y|Y|yes|YES) ! 10: echo 'System going down!\007' | /etc/wall & ! 11: cd / ! 12: /etc/umount.all ! 13: /bin/echo 'Wait for the # prompt on the console.' ! 14: /bin/echo 'Then type "sync" before rebooting or turning off your computer.' ! 15: /bin/sync ! 16: exec /bin/kill -1 1 ! 17: ;; ! 18: ! 19: *) ! 20: /bin/echo 'System remaining multi-user. DO NOT POWER OFF!' ! 21: /bin/sync ! 22: ;; ! 23: esac ! 24: ! 25: : end of /etc/shutdown
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.