- Change kfd rc script to be more conformant with rcNG conventions:
o change rcname to kfd; o move mandatory options to command_args; o add missing "shutdown" keyword; o fix require line. Kfd doesn't really need to be started before daemons. Suggested by: dougb
This commit is contained in:
parent
7c01b8a930
commit
51506f39f4
@ -297,8 +297,8 @@ kadmind5_server_enable="NO" # Run kadmind (or NO)
|
||||
kadmind5_server="/usr/libexec/kadmind" # path to kerberos 5 admin daemon
|
||||
kpasswdd_server_enable="NO" # Run kpasswdd (or NO)
|
||||
kpasswdd_server="/usr/libexec/kpasswdd" # path to kerberos 5 passwd daemon
|
||||
kfd_server_enable="NO" # Run kfd (or NO)
|
||||
kfd_server="/usr/libexec/kfd" # path to kerberos 5 kfd daemon
|
||||
kfd_enable="NO" # Run kfd (or NO)
|
||||
kfd_program="/usr/libexec/kfd" # path to kerberos 5 kfd daemon
|
||||
|
||||
gssd_enable="NO" # Run the gssd daemon (or NO).
|
||||
gssd_flags="" # Flags for gssd.
|
||||
|
12
etc/rc.d/kfd
12
etc/rc.d/kfd
@ -4,16 +4,14 @@
|
||||
#
|
||||
|
||||
# PROVIDE: kfd
|
||||
# BEFORE: DAEMON
|
||||
# REQUIRE: NETWORK
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="kfd"
|
||||
name=kfd
|
||||
rcvar=kfd_enable
|
||||
load_rc_config $name
|
||||
rcvar="kfd_server_enable"
|
||||
unset start_cmd
|
||||
command="${kfd_server}"
|
||||
kfd_flags="-i"
|
||||
command_args="&"
|
||||
command_args="-i &"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user