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/connections/ethernet-iproute | |
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/connections/ethernet-iproute')
-rw-r--r-- | src/connections/ethernet-iproute | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet-iproute b/src/connections/ethernet-iproute index b86b9f4..855ddb6 100644 --- a/src/connections/ethernet-iproute +++ b/src/connections/ethernet-iproute @@ -128,7 +128,7 @@ ethernet_down() { # Returns status of profile - is it still functional? ethernet_status() { - if ! ip link show dev ra0 | fgrep -q "state UP"; then + if ! ip link show dev "$INTERFACE" | fgrep -q "state UP"; then return 1 fi } |