summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
blob: 1deb79a0940e42e25820150c34d5eba338f52ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

stty status '^T'

# Set shell to ignore SIGINT (2), but not children;
# shell catches SIGQUIT (3) and returns to single user after fsck.
trap : 2
trap : 3	# shouldn't be needed

HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export HOME PATH

# Insert other shutdown procedures here

exit 0

OpenPOWER on IntegriCloud