Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > be726ddf6c5758eb1cc8af6bb9ac4093 > scriptlet

apcupsd-3.14.8-1.fc13.i686.rpm

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add apcupsd

POSTUN

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