summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-09-07 13:33:10 +0200
committerJames Rayner <james@archlinux.org>2009-09-07 13:33:10 +0200
commitd8b7ce436980612713dcd4add2e9c9d5189f70d0 (patch)
tree38188bc6adb3186ba75f77a5262c248ccb53a424 /src/network
parent0803c7a8cbb3eed799e91bb35d81a7c60d7cfd86 (diff)
downloadnetctl-d8b7ce436980612713dcd4add2e9c9d5189f70d0.tar.gz
netctl-d8b7ce436980612713dcd4add2e9c9d5189f70d0.tar.xz
Added initial rfkill support
Added some extra debug points Directed debug out to stderr, as debug messages were being used as output from find_essid.
Diffstat (limited to 'src/network')
-rw-r--r--src/network3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network b/src/network
index f1a8ad9..69bb1e3 100644
--- a/src/network
+++ b/src/network
@@ -13,12 +13,15 @@ load_profile()
report_fail "Profile \"$1\" does not exist"
return 1
fi
+ report_debug "Loading profile $1"
. "$PROFILE_DIR/$1"
+ report_debug "Configuring interface $INTERFACE"
if [[ -z "$INTERFACE" ]]; then
report_fail "Profile missing an interface to configure"
return 1
fi
if [[ -f "$IFACE_DIR/$INTERFACE" ]]; then
+ report_debug "Interface level configuration enabled: $IFACE_DIR/$INTERFACE"
. "$IFACE_DIR/$INTERFACE"
. "$PROFILE_DIR/$1" # we want profile settings to override, so need to source profile again
fi