From 3e7721376e6a5ceb5d59ce7ea2b6ef1ca776f299 Mon Sep 17 00:00:00 2001 From: thib Date: Fri, 10 Nov 2000 17:35:32 +0000 Subject: [PATCH] *** empty log message *** --- Makefile.in | 20 ++++++++++---------- conf.c | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile.in b/Makefile.in index cacdb94..cae6f03 100644 --- a/Makefile.in +++ b/Makefile.in @@ -4,7 +4,7 @@ # @configure_input@ -# $Id: Makefile.in,v 1.44 2000-11-02 19:12:27 thib Exp $ +# $Id: Makefile.in,v 1.45 2000-11-10 17:35:32 thib Exp $ # The following should not be edited manually (use configure options) # If you must do it, BEWARE : some of the following is also defined @@ -94,7 +94,7 @@ install: all $(INSTALL) -g root -o root -m 755 -d $(DESTMAN)/man5 $(INSTALL) -g root -o root -m 755 -d $(DESTMAN)/man8 $(INSTALL) -g root -o root -m 755 -d $(DESTDOC)/fcron-$(VERSION) - $(INSTALL) -g $(GROUPNAME) -o $(USERNAME) -m 600 -d $(FCRONTABS) + $(INSTALL) -g $(GROUPNAME) -o $(USERNAME) -m 700 -d $(FCRONTABS) $(INSTALL) -g $(GROUPNAME) -o $(USERNAME) -m 110 -s fcron $(DESTSBIN) $(INSTALL) -g $(GROUPNAME) -o $(USERNAME) -m 4111 -s fcrontab $(DESTBIN) @@ -111,18 +111,18 @@ install: all if test -f $(ETC)/fcron.deny; then chown $(USERNAME):$(GROUPNAME) $(ETC)/fcron.deny ; fi if test -f $(ETC)/fcron.allow; then chown $(USERNAME):$(GROUPNAME) $(ETC)/fcron.allow ; fi - (cd script ; ./sysVinit-install "$(INSTALL)" $(DESTSBIN) $(DEBUG)) +# (cd script ; ./sysVinit-install "$(INSTALL)" $(DESTSBIN) $(DEBUG)) # reinstall the fcrontabs # to do that, the old (if any) version of fcron must not run # (sysVinit-install normally start the last version) - for FILE in $(FCRONTABS)/* ; do \ - BASENAME=`basename $$FILE` ; \ - FCRONTAB=`echo "$$BASENAME" | \ - sed "s|.*orig|| ; s|new.*|| ; s|fcrontab.sig|| ; s|rm.*||"` ; \ - ( test ! -z "$$FCRONTAB" && fcrontab -u $$FCRONTAB -z ) \ - || echo -n ""; \ - done +# for FILE in $(FCRONTABS)/* ; do \ +# BASENAME=`basename $$FILE` ; \ +# FCRONTAB=`echo "$$BASENAME" | \ +# sed "s|.*orig|| ; s|new.*|| ; s|fcrontab.sig|| ; s|rm.*||"` ; \ +# ( test ! -z "$$FCRONTAB" && fcrontab -u $$FCRONTAB -z ) \ +# || echo -n ""; \ +# done uninstall: diff --git a/conf.c b/conf.c index 7aae6df..c6733ca 100644 --- a/conf.c +++ b/conf.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: conf.c,v 1.28 2000-11-02 19:13:13 thib Exp $ */ + /* $Id: conf.c,v 1.29 2000-11-10 17:36:26 thib Exp $ */ #include "fcron.h" @@ -468,7 +468,7 @@ read_file(const char *file_name, CF *cf) else insert_nextexe(cl); } else { - if ( cl->cl_timefreq <= 0 ) { + if ( cl->cl_timefreq < 60 ) { error("Invalid timefreq in '%s': set to 1 day", cl->cl_shell); cl->cl_timefreq = 3600*24; } -- 2.40.0