Annotation of coherent/a/bin/shutdown, revision 1.1

1.1     ! root        1: : /etc/shutdown 4/5/90
        !             2: : Take the system to single user mode.
        !             3: : Unmount devices mounted by /etc/rc.
        !             4: 
        !             5: /etc/wall <<EOF
        !             6: System going down!
        !             7: EOF
        !             8: 
        !             9: /bin/echo -n 'Do you wish to shut the system down? '
        !            10: read ans
        !            11: 
        !            12: case $ans in
        !            13: y|Y|yes|YES)
        !            14:        /etc/umount.all
        !            15:        /bin/echo 'Wait for the # prompt on the console.'
        !            16:        /bin/echo 'Then type "sync" before rebooting.'
        !            17:        /bin/sync
        !            18:        exec /bin/kill -1 1
        !            19:        ;;
        !            20: 
        !            21: *)
        !            22:        /bin/echo 'System remaining multi-user.  DO NOT POWER OFF!'
        !            23:        /bin/sync
        !            24:        ;;
        !            25: esac

unix.superglobalmegacorp.com

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