The following changes were made:

* Moved crontab from usher into CONFIG
  * Modified init script to use status_of_proc from init-functions
  * Modified usher to use init script status to check if daemon running
This commit is contained in:
2018-09-30 17:25:32 -05:00
parent b7130cccc5
commit 3c259f0bf1
4 changed files with 5 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ URL = http://ftp.isc.org/isc/cron/
REPO = main
BRIEF = daemon to execute scheduled commands
DESC = An implimentation of cron based on the SysV cron (aka Vixie cron)
SNAPVER = 1
SNAPVER = 2
ARCHIVE := $(PWD)/$(shell ls SRC/*.shar|tail -1)
SRCDIR := cron-$(shell echo $(ARCHIVE)|egrep -o '[0-9]\.[0-9]')
@@ -64,8 +64,6 @@ $(ROOT): $(SRCDIR)/cron
install -v -m 644 crontab.5 $(ROOT)/usr/share/man/man5/crontab.5 && \
install -v -m 644 cron.8 $(ROOT)/usr/share/man/man8/cron.8 && \
install -v -m 755 $(SNAPDIR)/cron.init $(ROOT)/etc/init.d/cron && \
install -v -m 600 $(SNAPDIR)/crontab \
$(ROOT)/usr/share/cron/crontab && \
install -v -m 755 $(SNAPDIR)/runall $(ROOT)/bin
test: $(ROOT)
@@ -77,5 +75,6 @@ clean:
$(SNAPINFO) \
$(MANIFEST) \
$(FILES) \
$(CONFIG) \
$(SRCDIR)