projects
/
grml-network.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
aa271ed
)
read WPASECRET from file [Closes: issue900]
author
Ulrich Dangel
<uli@spamt.net>
Sun, 5 Sep 2010 13:59:26 +0000
(15:59 +0200)
committer
Ulrich Dangel
<uli@spamt.net>
Sun, 5 Sep 2010 13:59:43 +0000
(15:59 +0200)
sbin/netcardconfig
patch
|
blob
|
history
diff --git
a/sbin/netcardconfig
b/sbin/netcardconfig
index
0b2d89e
..
f0429c8
100755
(executable)
--- 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