Sophie

Sophie

distrib > Momonga > 6 > i686 > by-pkgid > 1be0580d56d47a1ca5724ae9ab0c3e04 > scriptlet

gnokii-smsd-0.6.27-6m.mo6.i686.rpm

PREIN

/bin/sh
/usr/sbin/useradd -r -M -d / -g gnokii \
  -s /sbin/nologin -c "Gnokii system user" gnokii >/dev/null 2>&1 || :

PREUN

/bin/sh
if [ $1 -eq 0 ] ; then
  /etc/init.d/gnokii-smsd stop >/dev/null 2>&1 || :
  /sbin/chkconfig --del gnokii-smsd
fi

POSTIN

/bin/sh
/sbin/chkconfig --add gnokii-smsd

POSTUN

/bin/sh
if [ $1 -ge 1 ] ; then
  /etc/init.d/gnokii-smsd try-restart >/dev/null 2>&1 || :
fi