summaryrefslogtreecommitdiff
path: root/extra/dnsmasq/rc.dnsmasq
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-07 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-03-07 00:01:25 +0000
commit5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (patch)
treee7b6c472f6deee81a237a1ce4b8c12e90aadac67 /extra/dnsmasq/rc.dnsmasq
parentb8afacf1f28ac27321feb9b92bd50dd8961b7736 (diff)
Wed Mar 7 00:01:25 UTC 2012
Diffstat (limited to 'extra/dnsmasq/rc.dnsmasq')
-rwxr-xr-xextra/dnsmasq/rc.dnsmasq6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/dnsmasq/rc.dnsmasq b/extra/dnsmasq/rc.dnsmasq
index 0ce736ba9..4030c2896 100755
--- a/extra/dnsmasq/rc.dnsmasq
+++ b/extra/dnsmasq/rc.dnsmasq
@@ -7,7 +7,7 @@
checkconfig() {
local testout
- if ! testout=$(/usr/sbin/dnsmasq --test 2>&1); then
+ if ! testout=$(/usr/bin/dnsmasq --test 2>&1); then
echo "$testout"
return 1
fi
@@ -29,7 +29,7 @@ case $1 in
start)
stat_busy "Starting DNS/DHCP daemon"
if [[ -z $PID ]] && checkconfig &&
- /usr/sbin/dnsmasq "--user=${DNSMASQ_USER:-nobody}" \
+ /usr/bin/dnsmasq "--user=${DNSMASQ_USER:-nobody}" \
"--pid-file=$pidfile" \
"${DNSMASQ_OPTS[@]}"; then
add_daemon dnsmasq
@@ -56,7 +56,7 @@ case $1 in
;;
checkconfig)
# diagnostics will be printed, with zero/non-zero exit
- /usr/sbin/dnsmasq --test
+ /usr/bin/dnsmasq --test
;;
*)
echo "usage: $0 <start|stop|restart|checkconfig>"