mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Make conform to general rc.d style.
This commit is contained in:
parent
f2bdfc7dc7
commit
e90a5063a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124626
@ -13,14 +13,13 @@
|
||||
|
||||
name="syslogd"
|
||||
rcvar=`set_rcvar`
|
||||
pidfile="/var/run/syslog.pid"
|
||||
command="/usr/sbin/${name}"
|
||||
required_files="/etc/syslog.conf"
|
||||
start_precmd="syslogd_precmd"
|
||||
extra_commands="reload"
|
||||
|
||||
_sockfile="/var/run/syslogd.sockets"
|
||||
|
||||
pidfile="/var/run/syslog.pid"
|
||||
evalargs="rc_flags=\"\`set_socketlist\` \$rc_flags\""
|
||||
altlog_proglist="named"
|
||||
|
||||
|
@ -11,14 +11,14 @@
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ypserv"
|
||||
rcvar="nis_server_enable"
|
||||
command="/usr/sbin/${name}"
|
||||
start_precmd="ypserv_precmd"
|
||||
start_precmd="ypserv_prestart"
|
||||
|
||||
load_rc_config $name
|
||||
rcvar="nis_server_enable"
|
||||
command_args="${nis_server_flags}"
|
||||
|
||||
ypserv_precmd()
|
||||
ypserv_prestart()
|
||||
{
|
||||
if ! checkyesno rpcbind_enable && \
|
||||
! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user