aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--init-sh/lib.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b6515a3..fd0423a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-12-19 Pixel <pixel@mandrakesoft.com>
+ * init-sh/lib.sh: removed the failsafe for not a tty stdin (not
+ efficient)
+
1999-12-19 Yoann Vandoorselaere <yoann@mandrakesoft.com>
* Big cleanup.
* All work properly now.
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index c26f933..e8798c7 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".
- [ -t 0 ] && WaitAnswer;
+ WaitAnswer;
if [[ ${answer} == yes ]]; then
echo -n "Please enter the password which will be used at boot time : "
read password