dhcp-12:4.2.5-68.sl7_5.1 > H H t x H F ZMQ ?*}}k! ɑǿө7Es gdeԆu䕨Zlg9cba84573bdc6ee6ef375f4cbcb33922bc13eabb Zv/qE,ψF ZMQ ?*}}( M9vt=߷ w"F nQ<2mzjTQ 0 > B M ? L d I 0 4 P T e v z v X P L $ 8 ! ! \ ! ( ) * [ + ` , d - h 8 l 9 " : - = G0 > G8 ? G@ @ GH D GP G GX H G I HP X Hp Y Hx \ H ] I ^ J b L d L e L f L l L L C dhcp 4.2.5 68.sl7_5.1 Dynamic host configuration protocol software DHCP (Dynamic Host Configuration Protocol) is a protocol which allows individual devices on an IP network to get their own network configuration information (IP address, subnetmask, broadcast address, etc.) from a DHCP server. The overall purpose of DHCP is to make it easier to administer a large network. To use DHCP on your network, install a DHCP service (or relay agent), and on clients run a DHCP client daemon. The dhcp package provides the ISC DHCP service and relay agent. Zsl7-kojislave01.fnal.gov Scientific Linux Scientific Linux ISC Scientific Linux System Environment/Daemons http://isc.org/products/DHCP/ linux x86_64 # /usr/share/doc/setup/uidgid getent group dhcpd >/dev/null || groupadd --force --gid 177 --system dhcpd if ! getent passwd dhcpd >/dev/null ; then if ! getent passwd 177 >/dev/null ; then useradd --system --uid 177 --gid dhcpd --home / --shell /sbin/nologin --comment "DHCP server" dhcpd else useradd --system --gid dhcpd --home / --shell /sbin/nologin --comment "DHCP server" dhcpd fi fi exit 0 # Initial installation if [ $1 -eq 1 ] ; then # Initial installation systemctl preset dhcpd.service dhcpd6.service dhcrelay.service >/dev/null 2>&1 || : fi chown -R dhcpd:dhcpd /var/lib/dhcpd/ for servicename in dhcpd dhcpd6 dhcrelay; do etcservicefile=/etc/systemd/system/${servicename}.service if [ -f ${etcservicefile} ]; then grep -q Type= ${etcservicefile} || sed -i '/\[Service\]/a Type=notify' ${etcservicefile} sed -i 's/After=network.target/Wants=network-online.target\nAfter=network-online.target/' ${etcservicefile} fi done exit 0 # Package removal, not upgrade if [ $1 -eq 0 ] ; then # Package removal, not upgrade systemctl --no-reload disable dhcpd.service dhcpd6.service dhcrelay.service > /dev/null 2>&1 || : systemctl stop dhcpd.service dhcpd6.service dhcrelay.service > /dev/null 2>&1 || : fi # Package upgrade, not uninstall systemctl daemon-reload >/dev/null 2>&1 || : if [ $1 -ge 1 ] ; then # Package upgrade, not uninstall systemctl try-restart dhcpd.service dhcpd6.service dhcrelay.service >/dev/null 2>&1 || : fi u x S z 9 = z 8 ~ S C x # AA큤A聠큤A큤A큤A큤 ZZZZZZZPʐZZZZZZZZP2ZZPʐPʐPʐZZZZZZZZZ 5518296260520dc22de4e2416c0f88875d13efa29377d99a4a35de04cdf6b8ce 82fe25d137dddd48593ea76d2cd4228b9bd6df1c498f51d142e4b3e818e14a61 1fabb1a960cb5f754320b56bfe974fa07b4f57658a4d37ff312709c576663242 54acd79b596aca1dfed205f89993d1c1ae32307e2e0aeb1674827f96fdc98849 f2a9c01e7e5582c2e23bcb1cb1acab59e7d557630236d84893fb09a7a3139596 f21e0ce25fdae45193a670a1f36feb8e93f90cbc3740bd4203ef5dc29aabe85b fe8cf8b9a00dfa20bdb21cc9b22fa268cf72367de4ad4cc0ad00bff60030b579 74c5c5ccff00ebe6a0df78cd074856d70651515ebdfd8b3ba568120a544d475e f19597e352708eb68d6224fad131d4be7f5621bd26d369d962d52e32919ec256 a6e450ff9d5dbc61f59835b53f10238386d9cc8aeaceeaa68a357812ca73c36d dbee82da00d44c8e0a761a7754f2f6da1b82dc301c3fc7046d923f0369ab92c2 68cfc06c1e8229ab7259b428b8425fdfb4cf2b22ab5c62d3b202e588219159f5 3dad6091ac29b756ca6ef6a56f2a37d5fd48d9e95e7b59b89236e2756b8e00e7 17b474ea73b0482c4721e839353e7f28389d78f5c498f6106f7c0b37548d6bb0 868ec9452c7fbf331c86892e596a3f9bab6fd9f7a558daa6c4835b989092d2ff f2a9c01e7e5582c2e23bcb1cb1acab59e7d557630236d84893fb09a7a3139596 1d4677ce8e9f642bf80bdd822f6845f2ebc0f5edbe00793a4df960442ed8eb87 6ae5ef948ffbd0f15307949246f425839917ee1189f48fb2b724cabeaaf6bd2a 193953290e18f86b3c140923096e8925a93a9c3cadf4e4085627f27cc27a98b6 849c7dd526cb23d2397da7f0c09febba10b8bf5ff3fa3624ad3cbcfe8b88df7d 3d62ebfade7c8d486e331d8a4eed24d64e7e79eaeba16c2d3377cdc7781d460b 2920a4c835059e130e011eb719f03facbf011a291a98b4c569dad86170512173 26e84fc2ac1e6923524be25ec71b0a93e3ab93dea1cba8e326b52825ae42ca6f e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 root root root root root root root root root root root root root root root root root root root root root root root root root root root root dhcpd dhcpd dhcpd root root root root root dhcpd dhcpd root root root root root root root root root root root root root root root root root root root root root dhcpd dhcpd dhcpd dhcp-4.2.5-68.sl7_5.1.src.rpm @ @dhcp dhcp(x86-64) @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ dhcp-common dhcp-libs(x86-64) shadow-utils coreutils systemd systemd systemd /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh rpmlib(FileDigests) rpmlib(PayloadFilesHavePrefix) rpmlib(CompressedFileNames) /bin/bash libcap-ng.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdhcpctl.so.0()(64bit) libdns-export.so.100()(64bit) libisc-export.so.95()(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libomapi.so.0()(64bit) libsystemd-daemon.so.0()(64bit) libsystemd-daemon.so.0(LIBSYSTEMD_DAEMON_31)(64bit) rtld(GNU_HASH) rpmlib(PayloadIsXz) 12:4.2.5-68.sl7_5.1 12:4.2.5-68.sl7_5.1 4.6.0-1 4.0-1 3.0.4-1 5.2-1 4.11.3 # convert DHC*ARGS from /etc/sysconfig/dhc* to /etc/systemd/system/dhc*.service for servicename in dhcpd dhcpd6 dhcrelay; do if [ -f /etc/sysconfig/${servicename} ]; then # get DHCPDARGS/DHCRELAYARGS value from /etc/sysconfig/${servicename} source /etc/sysconfig/${servicename} if [ "${servicename}" == "dhcrelay" ]; then args=$DHCRELAYARGS else args=$DHCPDARGS fi # value is non-empty (i.e. user modified) and there isn't a service unit yet if [ -n "${args}" -a ! -f /etc/systemd/system/${servicename}.service ]; then # in $args replace / with \/ otherwise the next sed won't take it args=$(echo $args | sed 's/\//\\\//'g) # add $args to the end of ExecStart line sed -r -e "/ExecStart=/ s/$/ ${args}/" \ < /usr/lib/systemd/system/${servicename}.service \ > /etc/systemd/system/${servicename}.service fi fi done dhcp ZZ@ZZZ)-@Y*@YX@YY3Y3Y3YYYYtXXX@X@X@WWW@W@W@V@U6@U@U@UU\w@TC@T@Tk4T7@T6xT6xT=@T @SRUR@RkRG@RxR@-@R<8R6RC@QB@QY@Q@QQKQQ'@Q@Qm=@Q\QQQ']Q@Q"@PP9@PP@P!@PPPPYP*P{@P~PvPtPb@PQP7lP4P2&P.2@PPPPP