Lines 3-10
Link Here
|
3 |
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/halt.sh,v 1.23 2002/12/18 10:11:43 azarah Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/halt.sh,v 1.23 2002/12/18 10:11:43 azarah Exp $ |
4 |
|
4 |
|
5 |
|
5 |
|
6 |
if checkserver |
|
|
7 |
then |
8 |
# We try to deactivate swap first because it seems |
6 |
# We try to deactivate swap first because it seems |
9 |
# to need devfsd running to work (this is not done |
7 |
# to need devfsd running to work (this is not done |
10 |
# on nodes). TheTERM and KILL stuff will zap |
8 |
# on nodes). TheTERM and KILL stuff will zap |
Lines 21-27
Link Here
|
21 |
killall -15 devfsd &>/dev/null |
19 |
killall -15 devfsd &>/dev/null |
22 |
eend $? |
20 |
eend $? |
23 |
fi |
21 |
fi |
24 |
fi |
|
|
25 |
|
22 |
|
26 |
ebegin "Sending all processes the TERM signal" |
23 |
ebegin "Sending all processes the TERM signal" |
27 |
killall5 -15 &>/dev/null |
24 |
killall5 -15 &>/dev/null |
Lines 125-131
Link Here
|
125 |
eend 1 |
122 |
eend 1 |
126 |
sync; sync |
123 |
sync; sync |
127 |
[ -f /etc/killpower ] && ups_kill_power |
124 |
[ -f /etc/killpower ] && ups_kill_power |
128 |
checkserver && /sbin/sulogin -t 10 /dev/console |
125 |
get_bootparam "adelie" || /sbin/sulogin -t 10 /dev/console |
129 |
else |
126 |
else |
130 |
eend 0 |
127 |
eend 0 |
131 |
fi |
128 |
fi |