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

# $Id$

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