diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-10-13 16:58:51 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-10-13 16:58:51 +0000 |
commit | 2912dcb14f0a660c11e569886e97b55a6e550992 (patch) | |
tree | eb009d771c8edf28991515dd09db568ffcf2ae0e /net-setup | |
parent | Added therrmal, video, and dock to the list of ACPI modules that we load at b... (diff) | |
download | livecd-tools-2912dcb14f0a660c11e569886e97b55a6e550992.tar.gz livecd-tools-2912dcb14f0a660c11e569886e97b55a6e550992.tar.bz2 livecd-tools-2912dcb14f0a660c11e569886e97b55a6e550992.zip |
Cleaning up the coding style on some parts and doing some minor cleanups.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@132 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'net-setup')
-rwxr-xr-x | net-setup | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -27,7 +27,7 @@ else iface="${1}" fi -[ ! -d /tmp/setup.opts ] && mkdir /tmp/setup.opts +[ ! -d /tmp/setup.opts ] && mkdir -p /tmp/setup.opts cd /tmp/setup.opts while true; do @@ -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=$(cat ${iface}.WIRED_WIRELESS) case ${WIRED_WIRELESS} in 1) livecd_config_wireless @@ -50,9 +50,6 @@ case ${WIRED_WIRELESS} in 2) livecd_config_ip ;; - *) - exit 0 - ;; esac livecd_write_net_conf |