aboutsummaryrefslogtreecommitdiff
path: root/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S21dnsmasq
blob: 8ddd149e390b2349787ecf87b7478295c1fb658c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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