summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-10-30 20:59:55 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-10-30 20:59:55 +0000
commita85938dbd61262a0fe3b9888411d86ef3aa911ff (patch)
tree12bd276ed5266c26c86fd11f7824c0f674a3e52f /net-setup
parentCleaning up the coding style on some parts and doing some minor cleanups. (diff)
downloadlivecd-tools-a85938dbd61262a0fe3b9888411d86ef3aa911ff.tar.gz
livecd-tools-a85938dbd61262a0fe3b9888411d86ef3aa911ff.tar.bz2
livecd-tools-a85938dbd61262a0fe3b9888411d86ef3aa911ff.zip
Added a small fix for bug #111972 and also doing some minor clean up.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@133 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'net-setup')
-rwxr-xr-xnet-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-setup b/net-setup
index e0fef83..f20d4c7 100755
--- a/net-setup
+++ b/net-setup
@@ -40,7 +40,7 @@ done
exec 2>/dev/stderr
dialog --title "Network setup" --menu "This script is designed to setup both wired and wireless network settings. All questions below apply to the ${iface} interface only. Choose one option:" 20 60 7 1 "My network is wireless" 2 "My network is wired" 2> ${iface}.WIRED_WIRELESS
-WIRED_WIRELESS=$(cat ${iface}.WIRED_WIRELESS)
+WIRED_WIRELESS=$(tail -n 1 ${iface}.WIRED_WIRELESS)
case ${WIRED_WIRELESS} in
1)
livecd_config_wireless