X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fpkg%2Ffcron;h=745420b2e94f30aca34dcb926756ffb003fb7791;hb=b99ee4fadea43f239cf2df146fb93bfc95bd783e;hp=46bd07d0b10b8a1a4bc6f87b17049c894a94cae0;hpb=f79f4dfe8827078280d6f87f556349ccfdb47096;p=hvlinux.git diff --git a/stage3/pkg/fcron b/stage3/pkg/fcron index 46bd07d..745420b 100644 --- a/stage3/pkg/fcron +++ b/stage3/pkg/fcron @@ -57,7 +57,7 @@ editor = /usr/bin/nano 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" @@ -70,6 +70,7 @@ for f in /etc/fcron/fcron.d/*; do cat $f >> /etc/fcron/fcron.tab done +chown -R root:fcron /etc/fcron chmod 640 /etc/fcron/fcron.tab fcrontab -c /etc/fcron/fcron.conf /etc/fcron/fcron.tab @@ -85,4 +86,6 @@ EOF # script-name start stop bootscript_add_rcsysinit fcron 95 84 + + install -v -m644 ${SCRDIR}/misc/fcron.d/* /etc/fcron/fcron.d }