diff options
author | Evan Callicoat <diopter@gmail.com> | 2012-12-31 18:59:16 +0100 |
---|---|---|
committer | Evan Callicoat <diopter@gmail.com> | 2012-12-31 18:59:16 +0100 |
commit | 2f801bcd95e4dc41ab8ed662769aa8d89525136f (patch) | |
tree | 84d76efff067fef60a57e2764b8098e6e9252c9c | |
parent | ecd9fd25076b715d23184317384e37315f5a8c8e (diff) | |
download | netctl-2f801bcd95e4dc41ab8ed662769aa8d89525136f.tar.gz netctl-2f801bcd95e4dc41ab8ed662769aa8d89525136f.tar.xz |
Fix typo
-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 ;; *) |