aboutsummaryrefslogtreecommitdiff
path: root/net/ifwatchd.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-05-29 14:15:12 +0100
committerRoy Marples <roy@marples.name>2009-05-29 14:15:12 +0100
commit83e82c452e89bf27de2a7b01bc2356c9050b2a18 (patch)
treea4f8843c7c02a6b51abb06a16f0a9a6665facc71 /net/ifwatchd.sh
parent9c5faf231ccf50695270034ab63f747fa2bef1d7 (diff)
parenta518d34549fd80268e9c70d2300808b63c54825c (diff)
Merge branch 'master' of ssh://roy.marples.name/var/git/openrc
Diffstat (limited to 'net/ifwatchd.sh')
-rw-r--r--net/ifwatchd.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ifwatchd.sh b/net/ifwatchd.sh
index e8c5e2bc..d9da15eb 100644
--- a/net/ifwatchd.sh
+++ b/net/ifwatchd.sh
@@ -33,8 +33,8 @@ ifwatchd_pre_start()
# Start ifwatchd
export IN_BACKGROUND=yes
start-stop-daemon --start --exec /usr/sbin/ifwatchd \
- -- -c "${RC_LIBDIR}/sh/ifwatchd-carrier.sh" \
- -n "${RC_LIBDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}"
+ -- -c "${RC_LIBEXECDIR}/sh/ifwatchd-carrier.sh" \
+ -n "${RC_LIBEXECDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}"
unset IN_BACKGROUND
eend "$?" || return 1
@@ -47,13 +47,13 @@ ifwatchd_stop()
yesno ${IN_BACKGROUND} && return 0
start-stop-daemon --test --quiet --stop --exec /usr/sbin/ifwatchd \
- -- -c "${RC_LIBDIR}/sh/ifwatchd-carrier.sh" \
- -n "${RC_LIBDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}" \
+ -- -c "${RC_LIBEXECDIR}/sh/ifwatchd-carrier.sh" \
+ -n "${RC_LIBEXECDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}" \
|| return 0
ebegin "Stopping ifwatchd on" "${IFACE}"
start-stop-daemon --stop --exec /usr/sbin/ifwatchd \
- -- -c "${RC_LIBDIR}/sh/ifwatchd-carrier.sh" \
- -n "${RC_LIBDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}"
+ -- -c "${RC_LIBEXECDIR}/sh/ifwatchd-carrier.sh" \
+ -n "${RC_LIBEXECDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}"
eend $?
}