PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service gpsd stop > /dev/null 2>&1 || true /sbin/chkconfig --del gpsd fi
POSTIN
/bin/sh
/sbin/ldconfig /sbin/chkconfig --add gpsd
/bin/sh
if [ $1 = 0 ]; then /sbin/service gpsd stop > /dev/null 2>&1 || true /sbin/chkconfig --del gpsd fi
/bin/sh
/sbin/ldconfig /sbin/chkconfig --add gpsd