Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 7477e1e282c86a61d5b3dacaa7c65057 > scriptlet

libvirt-client-0.8.2-6.fc13.i686.rpm

PREUN

/bin/sh

if [ $1 = 0 ]; then
    /sbin/chkconfig --del libvirt-guests
    rm -f /var/lib/libvirt/libvirt-guests
fi

POSTIN

/bin/sh

/sbin/ldconfig
/sbin/chkconfig --add libvirt-guests
if [ $1 -ge 1 ]; then
    # this doesn't do anything but allowing for libvirt-guests to be
    # stopped on the first shutdown
    /sbin/service libvirt-guests start > /dev/null 2>&1 || true
fi