head     1.1;
access   ;
symbols  ;
locks    ;
comment  @@;


1.1
date     91.03.18.16.25.17;  author root;  state Exp;
branches ;
next	;


desc
@init ver pulled from 310 ship disk]
@



1.1
log
@Initial revision
@
text
@: /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
@
