File:  [MW Coherent from dump] / coherent / c / bin / shutdown
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:41 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

: /etc/shutdown 4/5/90
: Take the system to single user mode.
: Unmount devices mounted by /etc/rc.

/etc/wall <<EOF
System going down!
EOF

/bin/echo -n 'Do you wish to shut the system down? '
read ans

case $ans in
y|Y|yes|YES)
	/etc/umount.all
	/bin/echo 'Wait for the # prompt on the console.'
	/bin/echo 'Then type "sync" before rebooting.'
	/bin/sync
	exec /bin/kill -1 1
	;;

*)
	/bin/echo 'System remaining multi-user.  DO NOT POWER OFF!'
	/bin/sync
	;;
esac

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.