vp-build/srcpkgs/ntp/INSTALL
Juan RP 0976eba38f ntp: use trigger to (un)register system user/groups, bumprev.
--HG--
extra : convert_revision : a1d80ce1080681ea8aaad532b22b739337c9e247
2009-12-11 12:07:29 +01:00

16 lines
281 B
Plaintext

#
# This script creates required dirs for chroot initialization.
#
case "${ACTION}" in
pre)
;;
post)
# Fix ntpd initialization with -i (chrooted).
if [ ! -d var/chroot/ntpd/var/db ]; then
mkdir -p var/chroot/ntpd/var/db
chown ntpd:ntpd /var/chroot/ntpd/var/db
fi
;;
esac