diff options
author | Jim Pryor <profjim@jimpryor.net> | 2009-09-14 05:43:34 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-09-14 08:22:11 +0200 |
commit | 67f1b8fae53ebe22ad1a0557c0d7a1371b96cb0b (patch) | |
tree | 76a0ad11c1df8272d0815a9c6c8398953f4effa0 /src/network | |
parent | 820d9295b51e427f3e17c9e83227a127ef9b7631 (diff) | |
download | netctl-67f1b8fae53ebe22ad1a0557c0d7a1371b96cb0b.tar.gz netctl-67f1b8fae53ebe22ad1a0557c0d7a1371b96cb0b.tar.xz |
Tweaks while merging
* added various quotes
* made some vars local
* tweaked some [[ ]]s, including one broken one in netcfg-menu
* s/ra0/$INTERFACE/ in ethernet-iproute and wireless
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network b/src/network index 69bb1e3..28250b4 100644 --- a/src/network +++ b/src/network @@ -196,7 +196,7 @@ profile_down() fi report_try "$PROFILE down" - if [[ "$(get_iface_prof $INTERFACE)" == "external" ]]; then + if [[ "$(get_iface_prof "$INTERFACE")" == "external" ]]; then report_fail "$interface was connected by another application" exit 1 fi @@ -354,6 +354,7 @@ set_interface() sleep "${UP_SLEEP:-2}" ;; down|forcedown|down-old|forcedown-old) + # should this be placed elsewhere? if ! ( eval $IFACE_DOWN ); then return 1 fi |