Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 3a67e83db88fa425f15f743d8b5e3d87 > scriptlet

dhclient-4.2.0-23.P2.fc14.x86_64.rpm

POSTIN

/bin/sh
/bin/ls -1 /etc/dhclient* >/dev/null 2>&1
if [ $? = 0 ]; then
    /bin/ls -1 /etc/dhclient* | \
    /bin/grep -v "\.rpmsave$" 2>/dev/null | \
    while read etcfile ; do
        cf="$(/bin/basename ${etcfile})"
        if [ -f ${etcfile} ] && [ ! -r /etc/dhcp/${cf} ]; then
            /bin/cp -a ${etcfile} /etc/dhcp/${cf} >/dev/null 2>&1
            if [ -x /sbin/restorecon ]; then
                /sbin/restorecon /etc/dhcp/${cf} >/dev/null 2>&1
            fi
        fi
    done || :
fi || :