Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > f09f3930a99d9cc9ece5d12659d43d8d > scriptlet

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