From 6acfb016fdc8f057e03c2644fe2f1452fb6ee05d Mon Sep 17 00:00:00 2001 From: Richard Narron Date: Sun, 11 Jan 2015 07:12:54 +0700 Subject: system/fcron: Fix README and doinstall.sh. Signed-off-by: Willy Sudiarto Raharjo --- system/fcron/README | 19 ++++++++++++++++++- system/fcron/doinst.sh | 4 ++-- system/fcron/fcron.SlackBuild | 2 +- system/fcron/slack-desc | 8 ++++---- 4 files changed, 25 insertions(+), 8 deletions(-) (limited to 'system/fcron') diff --git a/system/fcron/README b/system/fcron/README index d664aede05..d5e94c4649 100644 --- a/system/fcron/README +++ b/system/fcron/README @@ -16,7 +16,7 @@ So as root do this: Post Installation notes: ------------------------ -The Fcron installation creates a startup file called /etc/rc.d/rc.fcron +The Fcron installation creates a startup file called /etc/rc.d/rc.fcron To run this startup file automatically at system startup time, add an entry to the /etc/rc.d/rc.local file: @@ -25,3 +25,20 @@ add an entry to the /etc/rc.d/rc.local file: if [ -x /etc/rc.d/rc.fcron ]; then . /etc/rc.d/rc.fcron start fi + +To prevent the automatic startup of the existing crond daemon: + + 1) Turn off the execute bit on the crond binary: + + chmod -x /usr/sbin/crond + +And/or: + 2) Comment out the crond code in /etc/rc.d/rc.M + + #if [ -x /usr/sbin/crond ]; then + # /usr/sbin/crond -l notice + #fi + +To create an fcrontab for root from the sample-root-fcrontab.txt file: + + fcrontab sample-root-fcrontab.txt diff --git a/system/fcron/doinst.sh b/system/fcron/doinst.sh index d8651841e8..c0f53d0dfa 100644 --- a/system/fcron/doinst.sh +++ b/system/fcron/doinst.sh @@ -24,5 +24,5 @@ preserve_perms() { preserve_perms etc/rc.d/rc.fcron.new config etc/fcron.conf.new -config etc/fcron.allow -config etc/fcron.deny +config etc/fcron.allow.new +config etc/fcron.deny.new diff --git a/system/fcron/fcron.SlackBuild b/system/fcron/fcron.SlackBuild index 6ed7680123..965ad2583f 100644 --- a/system/fcron/fcron.SlackBuild +++ b/system/fcron/fcron.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=fcron VERSION=${VERSION:-3.2.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} # Select fcron's default user/group diff --git a/system/fcron/slack-desc b/system/fcron/slack-desc index 821ff388ec..4c8dacbd1a 100644 --- a/system/fcron/slack-desc +++ b/system/fcron/slack-desc @@ -9,11 +9,11 @@ fcron: fcron (periodical command scheduler) fcron: fcron: Fcron is a periodical command scheduler which aims at replacing -fcron: Vixie Cron and Anacron. -fcron: -fcron: Fcron works well on systems that are not continuously running such -fcron: as laptops or desktops and it is loaded with features. +fcron: Vixie Cron and Anacron. Fcron works well on systems that are not +fcron: continuously running such as laptops or desktops and it is loaded +fcrom: with features. fcron: fcron: When a machine is powered on, Fcron can start jobs that were fcron: skipped while the machine was powered off. +fcron: fcron: Homepage: http://fcron.free.fr/ -- cgit v1.2.3