diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-12-30 22:53:20 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-12-30 22:53:20 +0000 |
commit | 45da9952e505c2defec11d35a8fab56135b82bcd (patch) | |
tree | 48f5b2fe4337977e994033a03ecdb0d82ffe59a6 /etc/rc.d/ypupdated | |
parent | 574c45c445a5ef97978d68eb5fe6514fd6b8006d (diff) | |
download | src-45da9952e505c2defec11d35a8fab56135b82bcd.tar.gz src-45da9952e505c2defec11d35a8fab56135b82bcd.zip |
Eliminate global symbols starting with an underscore from rc.d
scripts, except for mdconfig* and jail. Such symbols are reserved
for the rc.subr internals. Most scripts can be fixed by just
declaring _foo symbols as local: few scripts actually need them to
be global.
Discussed with: dougb in freebsd-rc
Notes
Notes:
svn path=/head/; revision=165664
Diffstat (limited to 'etc/rc.d/ypupdated')
-rw-r--r-- | etc/rc.d/ypupdated | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.d/ypupdated b/etc/rc.d/ypupdated index 106db0f4bf16..e1d6fd73a15f 100644 --- a/etc/rc.d/ypupdated +++ b/etc/rc.d/ypupdated @@ -15,6 +15,8 @@ start_precmd="rpc_ypupdated_precmd" rpc_ypupdated_precmd() { + local _domain + if ! checkyesno rpcbind_enable && \ ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1 then |