From c6ad0bd1294bddb78d1b47e48e8ce7657f91e1df Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Mon, 9 Apr 2012 13:31:30 +0200 Subject: Minor changes --- src/connections/wireless | 1 - src/network | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/connections/wireless b/src/connections/wireless index a5b7ad2..44a25b4 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -4,7 +4,6 @@ . "$SUBR_DIR/rfkill" wireless_up() { - PROFILE="$1" load_profile "$PROFILE" diff --git a/src/network b/src/network index 5823411..30f9e89 100644 --- a/src/network +++ b/src/network @@ -1,6 +1,6 @@ ### Globals . /usr/lib/network/globals -# will load hooks and they in turn will load /etc/rc.d/functions if they need to +# will load hooks ## Loads a profile. # $1: profile name @@ -273,7 +273,6 @@ interface_down() esac } - # interface_reconnect interface # reconnects the profile active on interface interface_reconnect() @@ -290,7 +289,6 @@ interface_reconnect() esac } - ## # check_iface interface # Return 0 if interface unavailable (in use by a profile or externally, or disabled) @@ -356,7 +354,6 @@ set_iface() { fi } - is_interface() { local INTERFACE="$1" if [[ ! -e "/sys/class/net/$INTERFACE" ]]; then @@ -394,4 +391,3 @@ bring_interface() } # vim: ft=sh ts=4 et sw=4: - -- cgit v1.2.3-24-g4f1b