From 9ccc6a295df786159f86a35d7a465f7902646312 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Sun, 5 Sep 2010 15:59:26 +0200 Subject: [PATCH] read WPASECRET from file [Closes: issue900] --- sbin/netcardconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/netcardconfig b/sbin/netcardconfig index 0b2d89e..f0429c8 100755 --- a/sbin/netcardconfig +++ b/sbin/netcardconfig @@ -327,6 +327,7 @@ configiface() { ' /etc/network/interfaces) while [ -z "$WPASECRET" ] ; do $DIALOG --inputbox "$MESSAGEW23 $ESSID" 15 50 "$WPASECRET" 2>"$TMP" || bailout 1 + read WPASECRET <"$TMP" if [ -z "$WPASECRET" ] ; then $DIALOG --msgbox "Sorry, empty password not allowed, please retry." 0 0 || bailout 1 fi -- 2.1.4