*** empty log message ***
authorthib <thib>
Fri, 10 Nov 2000 17:35:32 +0000 (17:35 +0000)
committerthib <thib>
Fri, 10 Nov 2000 17:35:32 +0000 (17:35 +0000)
Makefile.in
conf.c

index cacdb940b09a4fd310eb6a8695fed33f57805576..cae6f03498330b5246f1731623bec8708c4d0355 100644 (file)
@@ -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 7aae6df0298d8ebde1ccdd677b7f5b851dde8650..c6733caf54679b6e8b9d429bc5ad1bf574a19ff0 100644 (file)
--- 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;
            }