1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/sbin/runscript depend() { need net after firewall } start() { ebegin "Starting dnsd" start-stop-daemon --start --exec /usr/sbin/dnsd -- -d $DNSD_OPTS eend $? } stop () { ebegin "Stopping dnsd" start-stop-daemon --stop --exec /usr/sbin/dnsd eend $? }