diff options
-rwxr-xr-x | src/ifplugd.action | 2 |
1 files changed, 1 insertions, 1 deletions
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 |