From d8b7ce436980612713dcd4add2e9c9d5189f70d0 Mon Sep 17 00:00:00 2001 From: James Rayner Date: Mon, 7 Sep 2009 21:33:10 +1000 Subject: 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. --- src/network | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/network') 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 -- cgit v1.2.3-24-g4f1b