diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-12-31 19:32:54 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-12-31 19:32:54 +0100 |
commit | 7567349bbe35366ad84da66a3ac08be084e25530 (patch) | |
tree | 84d76efff067fef60a57e2764b8098e6e9252c9c /src | |
parent | ecd9fd25076b715d23184317384e37315f5a8c8e (diff) | |
parent | 2f801bcd95e4dc41ab8ed662769aa8d89525136f (diff) | |
download | netctl-7567349bbe35366ad84da66a3ac08be084e25530.tar.gz netctl-7567349bbe35366ad84da66a3ac08be084e25530.tar.xz |
Merge pull request #2 from Apsu/master
Fix typo (functionality bug)
Diffstat (limited to 'src')
-rwxr-xr-x | src/ifplugd.action | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ifplugd.action b/src/ifplugd.action index 4acb45b..d4e8ae4 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/nework" start "$profile"; then + if "$SUBR_DIR/network" start "$profile"; then mkdir -p "$(dirname "$PROFILE_FILE")" printf "%s" "$profile" > "$PROFILE_FILE" exit 0 @@ -44,7 +44,7 @@ case "$2" in ;; down) if [[ -e "$PROFILE_FILE" ]]; then - "$SUBR_DIR/nework" stop "$(< "$PROFILE_FILE")" && rm -f "$PROFILE_FILE" + "$SUBR_DIR/network" stop "$(< "$PROFILE_FILE")" && rm -f "$PROFILE_FILE" fi ;; *) |