|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh |
|
|
#!/bin/sh |
|
|
# |
|
|
# |
|
|
# $OpenBSD: nsd,v 1.2 2011/12/13 13:45:38 ajacoutot Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: nsd,v 1.3 2012/01/16 17:51:42 camield Exp $ |
|
|
|
|
|
|
|
|
daemon="/usr/sbin/nsd" |
|
|
daemon="/usr/sbin/nsd" |
|
|
|
|
|
|
|
@ -8,4 +8,14 @@ daemon="/usr/sbin/nsd" |
|
|
|
|
|
|
|
|
rc_reload=NO |
|
|
rc_reload=NO |
|
|
|
|
|
|
|
|
|
|
|
daemon_ctl="/usr/sbin/nsdc" |
|
|
|
|
|
|
|
|
|
|
|
rc_stop() { |
|
|
|
|
|
${daemon_ctl} stop |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
rc_check() { |
|
|
|
|
|
${daemon_ctl} running |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
rc_cmd $1 |
|
|
rc_cmd $1 |