diff options
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r-- | init-sh/lib.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 271a69a..2c7009c 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -142,7 +142,7 @@ Ttylog() { LoaderUpdate() { # Ask only if we're not inside DrakX. - if [[ -z ${DRAKX_PASSWORD} ]]; then + if [[ ! ${DRAKX_PASSWORD+set} ]]; then echo "Do you want a password authentication at boot time ?" echo "Be very carefull," echo "this will prevent your server to reboot without an operator to enter password". @@ -241,6 +241,7 @@ CommentUserRules /etc/securetty CleanRules /etc/security/msec/security.conf CommentUserRules /etc/security/msec/security.conf CleanRules /etc/profile +CleanRules /etc/ld.so.preload CleanLoaderRules LoaderDrakX |