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