Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > d420bd1fd6d3e47078c0710234475d9b > scriptlet

dhcpv6-1.0.10-22.el5_11.x86_64.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
    /sbin/service dhcp6s status > /dev/null 2>&1
    if [ $? = 3 ]; then
        /sbin/service dhcp6s stop > /dev/null 2>&1
    fi

    /sbin/service dhcp6r status > /dev/null 2>&1
    if [ $? = 3 ]; then
        /sbin/service dhcp6r stop > /dev/null 2>&1
    fi

    /sbin/chkconfig --del dhcp6s
    /sbin/chkconfig --del dhcp6r || :
fi

POSTIN

/bin/sh
/sbin/chkconfig --add dhcp6s
/sbin/chkconfig --add dhcp6r || :

POSTUN

/bin/sh
if [ $1 -ge 1 ]; then
    /sbin/service dhcp6s condrestart >/dev/null 2>&1
    /sbin/service dhcp6r condrestart >/dev/null 2>&1 || :
fi