summaryrefslogtreecommitdiff
path: root/dns/mydns-ng/files/mydns.sh
blob: 493a4356d67669829d9d2107efaab83d06975dc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

case "$1" in
	start)
		%%%PREFIX%%%/sbin/mydns -b
		;;
	stop)
		kill `cat /var/run/mydns.pid`
		;;
	*)
		echo ""
		echo "Usage: `basename $0` { start | stop }"
		echo ""
		exit 64
		;;
esac