diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-04-19 10:07:59 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-04-19 10:07:59 +0000 |
commit | 6e017963ac9136d06d1c811d06bfb55fbee560e1 (patch) | |
tree | 0435a0ecc5192693f1b7f605df85ed7ca2f291f8 | |
parent | 13c65d3bc517f46608b20b9f15d388e479956c01 (diff) | |
download | msec-6e017963ac9136d06d1c811d06bfb55fbee560e1.tar msec-6e017963ac9136d06d1c811d06bfb55fbee560e1.tar.gz msec-6e017963ac9136d06d1c811d06bfb55fbee560e1.tar.bz2 msec-6e017963ac9136d06d1c811d06bfb55fbee560e1.tar.xz msec-6e017963ac9136d06d1c811d06bfb55fbee560e1.zip |
*** empty log message ***
-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} |