Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 75179bed601b5eb13dce0cdec7a2f20e > scriptlet

ttywatch-0.14-13.fc12.i686.rpm

PREUN

/bin/sh
if [ "$1" = 0 ]; then
    /sbin/service ttywatch stop > /dev/null 2>&1
    /sbin/chkconfig --del ttywatch
fi

POSTIN

/bin/sh
/sbin/chkconfig --add ttywatch

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
    /sbin/service ttywatch condrestart > /dev/null 2>&1
fi