root/etc/rc.shutdown @ 29c3c942
1 |
#!/bin/sh
|
---|---|
2 |
|
3 |
# $Id$
|
4 |
|
5 |
stty status '^T' |
6 |
|
7 |
# Set shell to ignore SIGINT (2), but not children;
|
8 |
# shell catches SIGQUIT (3) and returns to single user after fsck.
|
9 |
trap : 2
|
10 |
trap : 3 # shouldn't be needed |
11 |
|
12 |
HOME=/ |
13 |
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin |
14 |
export HOME PATH
|
15 |
|
16 |
# Insert other shutdown procedures here
|
17 |
|
18 |
exit 0
|
19 |
|