From 6e017963ac9136d06d1c811d06bfb55fbee560e1 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Wed, 19 Apr 2000 10:07:59 +0000 Subject: *** empty log message *** --- init-sh/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init-sh/lib.sh') diff --git a/init-sh/lib.sh b/init-sh/lib.sh index d65fa98..2625b23 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -151,7 +151,7 @@ LoaderUpdate() { 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; + WaitAnswer; if [[ ${answer} == yes ]]; then echo -n "Please enter the password which will be used at boot time : " read password @@ -165,7 +165,7 @@ LoaderUpdate() { if [[ ! -z ${password} ]]; then tmpfile=`mktemp /tmp/secure.XXXXXX` - cp ${file} ${tmpfile} + cp ${file} ${tmpfile} cat ${tmpfile} | grep -v password > ${file} rm -f ${tmpfile} -- cgit v1.2.1