Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 5e3a1c13482e350e9d27d0e15382e684 > scriptlet

fnfx-0.3-4.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/fnfx ]; then
                /etc/rc.d/init.d/fnfx stop >&2
        fi
        /sbin/chkconfig --del fnfx
fi

POSTIN

/bin/sh
/sbin/chkconfig --add fnfx
if [ -f /var/lock/subsys/fnfx ]; then
        /etc/rc.d/init.d/fnfx restart >&2
else
        echo "Run \"/etc/rc.d/init.d/fnfx start\" to start fnfx daemon." >&2
fi