summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2011-12-21 12:08:09 -0600
committerRichard Nelson <unixabg@gmail.com>2011-12-21 12:08:09 -0600
commit197e7c813b89543d39dbaa10dbdec48f934c3809 (patch)
tree0d5fbd7a9d258d2e1bc531a2962065011aac159b
parentd5a9fc80066f3ca0e213fd2f122c37438ec91fdc (diff)
downloadvyos-live-build-197e7c813b89543d39dbaa10dbdec48f934c3809.tar.gz
vyos-live-build-197e7c813b89543d39dbaa10dbdec48f934c3809.zip
l-b.cgi cleanup cron.d operations.
-rw-r--r--cgi/Makefile4
-rw-r--r--cgi/live-build-cgi.crontab2
2 files changed, 4 insertions, 2 deletions
diff --git a/cgi/Makefile b/cgi/Makefile
index 305144aff..8ac08ddac 100644
--- a/cgi/Makefile
+++ b/cgi/Makefile
@@ -2,7 +2,8 @@
install:
install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build
- install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.d/live-build-cgi
+ install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi
+ install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi
install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi
install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi
@@ -13,6 +14,7 @@ install:
uninstall:
rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build
rm -f $(DESTDIR)/etc/cron.d/live-build-cgi
+ rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi
rm -f $(DESTDIR)/etc/default/live-build-cgi
rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi
diff --git a/cgi/live-build-cgi.crontab b/cgi/live-build-cgi.crontab
index 0cb78a330..1bf7a815d 100644
--- a/cgi/live-build-cgi.crontab
+++ b/cgi/live-build-cgi.crontab
@@ -4,4 +4,4 @@ SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
-*/1 * * * * root /etc/cron.hourly/live-webhelper > /dev/null 2>&1
+*/1 * * * * root /etc/cron.hourly/live-build-cgi > /dev/null 2>&1