diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-18 16:08:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-18 16:08:39 +0000 |
commit | e96124a136bf4140f6e11091a07334d9790d0481 (patch) | |
tree | 56a384ddc0c7d6827a3e19c2d622d068dc2adedc /init-sh/lib.sh | |
parent | 5c97a3edf62ae61932a471c85541784c71028b29 (diff) | |
download | msec-e96124a136bf4140f6e11091a07334d9790d0481.tar msec-e96124a136bf4140f6e11091a07334d9790d0481.tar.gz msec-e96124a136bf4140f6e11091a07334d9790d0481.tar.bz2 msec-e96124a136bf4140f6e11091a07334d9790d0481.tar.xz msec-e96124a136bf4140f6e11091a07334d9790d0481.zip |
no_comment
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r-- | init-sh/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh index e8798c7..c26f933 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -152,7 +152,7 @@ LiloUpdate() { 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". - WaitAnswer; + [ -t 0 ] && WaitAnswer; if [[ ${answer} == yes ]]; then echo -n "Please enter the password which will be used at boot time : " read password |