Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 9c55e6a013c28a4712c0bd894c675a33 > scriptlet

lcdproc-0.5.4-1.fc15.i686.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
# Disable driver on final removal
  /etc/rc.d/init.d/lcdproc stop &>/dev/null
  /etc/rc.d/init.d/LCDd stop &>/dev/null
  /sbin/chkconfig --del lcdproc
  /sbin/chkconfig --del LCDd  ||:
fi

POSTIN

/bin/sh
if [ $1 -eq 1 ]; then
# Add init script but don't start it
  /sbin/chkconfig --add LCDd
  /sbin/chkconfig --add lcdproc ||:
fi