From e96124a136bf4140f6e11091a07334d9790d0481 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 18 Dec 1999 16:08:39 +0000 Subject: no_comment --- init-sh/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init-sh/lib.sh') 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 -- cgit v1.2.1