aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-27 06:22:05 +0000
committerRoy Marples <roy@marples.name>2007-07-27 06:22:05 +0000
commit380b7f917d80249632bbae99391ef375261d829d (patch)
tree94903baad4185a334b1c58e6c489f2500ed8ae2e /init.d
parentf678660f04a5e82358ee4d756bb3de141ccaedb1 (diff)
Duh, test it
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/bootmisc3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 96024eba..19e8930b 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -134,7 +134,8 @@ stop() {
# Reset pam_console permissions if we are actually using it
if [ -x /sbin/pam_console_apply ] && ! [ -c /dev/.devfsd ] ; 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
# Write a halt record if we're shutting down