Replace eglibc by glibc-2.19
[hvlinux.git] / stage3 / pkg / fcron
index 46bd07d..745420b 100644 (file)
@@ -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
 }