This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Use nsdc to reliably stop nsd.
ok ajacoutot sthen
OPENBSD_5_1
camield
13 years ago
parent
ba1b360181
commit
8e1bed947f
1 changed files
with
11 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-1
src/etc/rc.d/nsd
+ 11
- 1
src/etc/rc.d/nsd
View File
@ -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
Write
Preview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
xxxxxxxxxx
0
0
0:0
x
0
0
0:0
Loading…
Cancel
Save