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