From fafa6603f87d68fd6b30dcfd4600cb1006e02a9e Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Tue, 1 Jan 2013 20:34:04 +0100 Subject: Fix netctl-ifplugd As ifplugd brings the interface up, we need to use ForceConnect. --- src/ifplugd.action | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ifplugd.action b/src/ifplugd.action index d4e8ae4..762b504 100755 --- a/src/ifplugd.action +++ b/src/ifplugd.action @@ -35,7 +35,7 @@ case "$2" in echo "AutoWired flag for '$1' set in more than one profile (${preferred_profiles[*]})" fi for profile in "${preferred_profiles[@]}" "${dhcp_profiles[@]}" "${static_profiles[@]}"; do - if "$SUBR_DIR/network" start "$profile"; then + if ForceConnect=yes "$SUBR_DIR/network" start "$profile"; then mkdir -p "$(dirname "$PROFILE_FILE")" printf "%s" "$profile" > "$PROFILE_FILE" exit 0 -- cgit v1.2.3-24-g4f1b