Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 7e25d4011528c5711136a8c90e0e6a6f > scriptlet

dhclient-4.2.0-6.fc14.i686.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 || :