diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-01-01 20:34:04 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-01-01 20:34:04 +0100 |
commit | fafa6603f87d68fd6b30dcfd4600cb1006e02a9e (patch) | |
tree | b8e3394fc2073665c3a9da3af0a2603b5b50ea4f /src/ifplugd.action | |
parent | 7567349bbe35366ad84da66a3ac08be084e25530 (diff) | |
download | netctl-fafa6603f87d68fd6b30dcfd4600cb1006e02a9e.tar.gz netctl-fafa6603f87d68fd6b30dcfd4600cb1006e02a9e.tar.xz |
Fix netctl-ifplugd
As ifplugd brings the interface up, we need to use ForceConnect.
Diffstat (limited to 'src/ifplugd.action')
-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 |