diff options
Diffstat (limited to 'init-sh')
-rw-r--r-- | init-sh/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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} |