diff options
author | Richard Narron <richard@aaazen.com> | 2015-01-11 07:12:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-11 07:13:21 +0700 |
commit | 6acfb016fdc8f057e03c2644fe2f1452fb6ee05d (patch) | |
tree | 656c39b1c162d5afcb5bc04d04970216d86a49eb | |
parent | f0eb71fc2057f1bdb6599ed7ad39503d271c35c4 (diff) | |
download | slackbuilds-6acfb016fdc8f057e03c2644fe2f1452fb6ee05d.tar.gz |
system/fcron: Fix README and doinstall.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/fcron/README | 19 | ||||
-rw-r--r-- | system/fcron/doinst.sh | 4 | ||||
-rw-r--r-- | system/fcron/fcron.SlackBuild | 2 | ||||
-rw-r--r-- | system/fcron/slack-desc | 8 |
4 files changed, 25 insertions, 8 deletions
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/ |