summaryrefslogtreecommitdiffstats
path: root/ifplugd
diff options
context:
space:
mode:
Diffstat (limited to 'ifplugd')
-rwxr-xr-xifplugd/netcfg.action4
1 files changed, 2 insertions, 2 deletions
diff --git a/ifplugd/netcfg.action b/ifplugd/netcfg.action
index bb02151..7bcebd8 100755
--- a/ifplugd/netcfg.action
+++ b/ifplugd/netcfg.action
@@ -21,7 +21,7 @@ case "$2" in
netcfg "$profile" && exit 0
fi
) done
- for profile in $(list profiles}; do (
+ for profile in $(list_profiles}; do (
load_profile "$profile"
[[ "$INTERFACE" != "$1" ]] && continue
[[ "$CONNECTION" != @(ethernet|ethernet-iproute) ]] && continue
@@ -33,7 +33,7 @@ case "$2" in
;;
down)
if check_iface "$1"; then
- netcfg -i "$1"
+ netcfg -i "$1" && exit 0
fi
;;
*)