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