Sophie

Sophie

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

ntpdate-4.2.6p2-7.fc14.i686.rpm

PREIN

/bin/sh
/usr/sbin/groupadd -g 38 ntp  2> /dev/null || :
/usr/sbin/useradd -u 38 -g 38 -s /sbin/nologin -M -r -d /etc/ntp ntp 2>/dev/null || :

PREUN

/bin/sh
if [ "$1" -eq 0 ]; then
	systemctl disable ntpdate.service &> /dev/null
	systemctl stop ntpdate.service &> /dev/null
	/sbin/service ntpdate stop &> /dev/null
	/sbin/chkconfig --del ntpdate
fi
:

POSTIN

/bin/sh
/sbin/chkconfig --add ntpdate
/sbin/chkconfig ntpdate &> /dev/null &&
	systemctl enable ntpdate.service &> /dev/null ||
	systemctl daemon-reload &> /dev/null
: