home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World Interactive 1996 May
/
PCW_MAY_1996_LINUX_UKUUG.ISO
/
sbin
/
shutdown.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1994-08-18
|
230b
|
7 lines
#!/bin/sh
# This is the login shell of account shutdown
case "`tty`" in
/dev/tty[1-9]|/dev/tty1[0-2]) /sbin/shutdown;;
*) echo 'Shutting down through the shutdown account only allowed from virtual consoles' >&2; sleep 10;;
esac