diff options
author | Jim Pryor <profjim@jimpryor.net> | 2009-09-14 05:43:48 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-09-14 08:27:36 +0200 |
commit | 57bed3df9310db328d80b32b31fdefa8418bbd1e (patch) | |
tree | 29a1b3e4e3a0a2ea886cc12353869aad5f5eb34c /src/connections/wireless | |
parent | a02e1e0dea5172d6eb55b8e99428b5ad386d3d66 (diff) | |
download | netctl-57bed3df9310db328d80b32b31fdefa8418bbd1e.tar.gz netctl-57bed3df9310db328d80b32b31fdefa8418bbd1e.tar.xz |
Rename set_interface to bring_interface
3. Change the name of "set_interface up/down..." to "bring_interface
up/down" to differentiate it from the similarly-named, merely record-keeping functions.
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/connections/wireless')
-rw-r--r-- | src/connections/wireless | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connections/wireless b/src/connections/wireless index 42504d2..e1d4a44 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -42,7 +42,7 @@ wireless_up() { fi report_debug wireless_up ifup - set_interface up-old "$INTERFACE" || return 1 + bring_interface up-old "$INTERFACE" || return 1 quirk prescan && iwlist "$INTERFACE" scan &> /dev/null # bcm43xx if quirk preessid; then # ipw3945 @@ -102,7 +102,7 @@ wireless_up() { if quirk "predown"; then # madwifi FS#10585 # ignore quirk nodown---is that appropriate? # this adds a flush call as well---is that appropriate? - set_interface forcedown-old "$INTERFACE" + bring_interface forcedown-old "$INTERFACE" fi report_debug wireless_up iwconfig "$INTERFACE" $WEP_OPTS @@ -114,7 +114,7 @@ wireless_up() { fi if quirk "predown"; then # madwifi FS#10585 - set_interface up-old "$INTERFACE" + bring_interface up-old "$INTERFACE" fi report_debug ethernet_up wep_check @@ -212,7 +212,7 @@ wireless_down() { # respects quirk nodown---is that appropriate? # wasn't this already called in ethernet_down? but does the call there respect quirk nodown? # this adds a flush call as well---is that appropriate? - set_interface down-old "$INTERFACE" + bring_interface down-old "$INTERFACE" # Handle wireless kill switches # Any reason why a hardware switch should be considered on interface down? |