system/fcron: Fix README and doinstall.sh.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Narron 2015-01-11 07:12:54 +07:00 committed by Willy Sudiarto Raharjo
parent f0eb71fc20
commit 6acfb016fd
4 changed files with 25 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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/