summaryrefslogtreecommitdiffstats
path: root/src/ifplugd.action
diff options
context:
space:
mode:
authorEvan Callicoat <diopter@gmail.com>2012-12-31 18:59:16 +0100
committerEvan Callicoat <diopter@gmail.com>2012-12-31 18:59:16 +0100
commit2f801bcd95e4dc41ab8ed662769aa8d89525136f (patch)
tree84d76efff067fef60a57e2764b8098e6e9252c9c /src/ifplugd.action
parentecd9fd25076b715d23184317384e37315f5a8c8e (diff)
downloadnetctl-2f801bcd95e4dc41ab8ed662769aa8d89525136f.tar.gz
netctl-2f801bcd95e4dc41ab8ed662769aa8d89525136f.tar.xz
Fix typo
Diffstat (limited to 'src/ifplugd.action')
-rwxr-xr-xsrc/ifplugd.action4
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
;;
*)