comment added to to rpc.yppasswdd.env script
This commit is contained in:
parent
6abb66981e
commit
ed9b52c869
@ -1,4 +1,18 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Author: Honza Horak <hhorak@redhat.com>
|
||||
# Date: 2011/11/25
|
||||
# Package: ypserv
|
||||
#
|
||||
# This script is part of ypserv package.
|
||||
# We need to pass all environment variables set in /etc/sysconfig/yppasswdd
|
||||
# to rpc.yppasswdd daemon, but only if they are not empty. However, this
|
||||
# simple logic is not supported by systemd.
|
||||
# This script wraps the main binary, prepares YPPASSWDD_ARGS variable
|
||||
# to include all necessary variables (ETCDIR, PASSWDFILE and SHADOWFILE)
|
||||
# and passes this variable to daemon.
|
||||
# The script ensures, that the rpc.yppasswdd arguments are not used in case
|
||||
# the appropriate environment variables are empty.
|
||||
|
||||
if [ "$ETCDIR" ]; then
|
||||
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -D $ETCDIR"
|
||||
|
@ -168,7 +168,7 @@ exit 0
|
||||
%{_includedir}/*/*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 24 2011 Honza Horak <hhorak@redhat.com> - 2.26-7
|
||||
* Fri Nov 25 2011 Honza Horak <hhorak@redhat.com> - 2.26-7
|
||||
- Fixed empty domain handling in ypinit script
|
||||
Resolves: #751427
|
||||
- Added a wrapper script to use all variables correctly in the unit file
|
||||
|
Loading…
Reference in New Issue
Block a user