summaryrefslogtreecommitdiff
path: root/extra/dnsmasq/rc.dnsmasq
diff options
context:
space:
mode:
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>"