]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Remove some addon cronjobs from iso.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 22 Jan 2011 22:47:41 +0000 (23:47 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 22 Jan 2011 22:47:41 +0000 (23:47 +0100)
config/rootfiles/common/fcron
lfs/fcron

index cf34afc600f83d5d1b143c0ae866301dd2e581b7..b3a1c49606f1817aeffd974604200f0585532518 100644 (file)
@@ -1,12 +1,18 @@
 etc/fcron.allow
 etc/fcron.conf
-etc/fcron.cyclic
-etc/fcron.daily
+#etc/fcron.cyclic
+etc/fcron.cyclic/info.txt
+#etc/fcron.daily
+etc/fcron.daily/info.txt
 etc/fcron.deny
-etc/fcron.hourly
-etc/fcron.minutely
-etc/fcron.monthly
-etc/fcron.weekly
+#etc/fcron.hourly
+etc/fcron.hourly/info.txt
+#etc/fcron.minutely
+etc/fcron.minutely/info.txt
+#etc/fcron.monthly
+etc/fcron.monthly/info.txt
+#etc/fcron.weekly
+etc/fcron.weekly/info.txt
 usr/bin/fcronsighup
 usr/bin/fcrontab
 usr/sbin/fcron
index 5cf9cc5e525bcf3e3fd9ecc69eda3307b73e35eb..38343d4073ede643bf6504524f300625e9686603 100644 (file)
--- a/lfs/fcron
+++ b/lfs/fcron
@@ -93,6 +93,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        chmod u-s /usr/bin/fcrontab /usr/bin/fcronsighup
        mkdir -p /etc/fcron.minutely /etc/fcron.cyclic /etc/fcron.hourly \
                /etc/fcron.daily /etc/fcron.weekly /etc/fcron.monthly
+
+       #Create Placeholder files
+       echo "Place scripts run minutely here ..." > /etc/fcron.minutely/info.txt
+       echo "Place scripts run cyclic here ..." > /etc/fcron.cyclic/info.txt 
+       echo "Place scripts run hourly here ..." > /etc/fcron.hourly/info.txt
+       echo "Place scripts run daily here ..." > /etc/fcron.daily/info.txt
+       echo "Place scripts run weekly here ..." > /etc/fcron.weekly/info.txt
+       echo "Place scripts run monthly here ..." > /etc/fcron.monthly/info.txt
+
        /usr/bin/fcrontab $(DIR_SRC)/config/cron/crontab
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)