hvconfig_pre()
{
- groupadd -f fcron
- hv_useradd -c fcron -g fcron fcron
+ groupadd --system -f fcron
+ hv_useradd --system -c fcron -g fcron fcron
# Create a dummy sendmail executable to fool fcron
DUMMY_SM_PATH=/usr/sbin/sendmail
chmod 755 ${DUMMY_SM_PATH}
fi
- CONFIGURE_OPTS="${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-editor=/usr/bin/nano \
--with-boot-install=no \
--with-answer-all=no"
EOF
chmod 640 /etc/fcron/fcron.conf
- install -d /var/spool/fcron
+ install -v -d /var/spool/fcron
chown fcron.fcron /var/spool/fcron
cat > /etc/fcron/configure << "EOF"
# script-name start stop
bootscript_add_rcsysinit fcron 95 84
+
+ install -v -m644 ${SCRDIR}/misc/fcron.d/* /etc/fcron/fcron.d
}