Duh, test it
This commit is contained in:
parent
f678660f04
commit
380b7f917d
@ -136,6 +136,7 @@ stop() {
|
||||
if grep -v -e '^[[:space:]]*#' /etc/pam.d/* | grep -q 'pam_console.so' ; then
|
||||
/sbin/pam_console_apply -r
|
||||
fi
|
||||
fi
|
||||
|
||||
# Write a halt record if we're shutting down
|
||||
case "${RC_SOFTLEVEL}" in
|
||||
|
Loading…
Reference in New Issue
Block a user