Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 1de0df3ab428aa9274e854662be404ae > scriptlet

apcupsd-3.14.9-2.fc14.x86_64.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