git: rc.d: Fix nfsd/yp* scripts to set ${command_args}
Aaron LI
aly at crater.dragonflybsd.org
Tue Dec 3 01:56:52 PST 2024
commit c726e452248520050b4ff9cc6b75b0d737527ed2
Author: Aaron LI <aly at aaronly.me>
Date: Tue Dec 3 09:54:03 2024 +0800
rc.d: Fix nfsd/yp* scripts to set ${command_args}
These scripts were failing to set ${command_args} because they set
"command_args=${<name>_flags}" before performing "load_rc_config".
As a result, the "command_args" variable was empty and the "<name>_flags"
settings in rc.conf were effectively ignored.
Fix this issue by moving the "command_args" assignment after calling
"load_rc_config".
Reported-by: kentish (on IRC)
Referred-to: FreeBSD
Summary of changes:
etc/rc.d/nfsd | 3 ++-
etc/rc.d/ypbind | 3 ++-
etc/rc.d/yppasswdd | 3 ++-
etc/rc.d/ypserv | 3 ++-
etc/rc.d/ypset | 3 ++-
etc/rc.d/ypxfrd | 3 ++-
6 files changed, 12 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c726e452248520050b4ff9cc6b75b0d737527ed2
--
DragonFly BSD source repository
More information about the Commits
mailing list