summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-04-09 13:31:30 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-04-09 13:31:30 +0200
commitc6ad0bd1294bddb78d1b47e48e8ce7657f91e1df (patch)
tree0229de9d540208fb34c46e28b8f04df7aa12c302 /src
parente65fad9b3aa4ce25fda0b6a79395025efbae4416 (diff)
downloadnetctl-c6ad0bd1294bddb78d1b47e48e8ce7657f91e1df.tar.gz
netctl-c6ad0bd1294bddb78d1b47e48e8ce7657f91e1df.tar.xz
Minor changes
Diffstat (limited to 'src')
-rw-r--r--src/connections/wireless1
-rw-r--r--src/network6
2 files changed, 1 insertions, 6 deletions
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:
-