19 lines
198 B
Bash
Executable File
19 lines
198 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DNSMASQ=/usr/sbin/dnsmasq
|
|
|
|
echo -n "Starting dnsmasq: "
|
|
if [ ! -x "${DNSMASQ}" ]; then
|
|
echo "missing"
|
|
exit 1
|
|
fi
|
|
|
|
if ${DNSMASQ}; then
|
|
echo "done"
|
|
else
|
|
echo "failed"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|