Remove obsolete patch
[hvlinux.git] / stage3 / pkg / fcron
index 4b8c768..6ecb6d5 100644 (file)
@@ -2,8 +2,8 @@
 
 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
@@ -13,7 +13,7 @@ hvconfig_pre()
         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"
@@ -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"
@@ -86,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
 }