From 8f41614e3b66f337f64695f8ba57b5b6989494f4 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 24 Nov 2008 18:47:24 +0000 Subject: anacron: added anacrontab.new git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@263 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- sys/process/anacron/anacron.mkbuild | 12 +++++++++--- sys/process/anacron/anacrontab.new | 7 +++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 sys/process/anacron/anacrontab.new (limited to 'sys') diff --git a/sys/process/anacron/anacron.mkbuild b/sys/process/anacron/anacron.mkbuild index 0e50dd9..2b77b4b 100644 --- a/sys/process/anacron/anacron.mkbuild +++ b/sys/process/anacron/anacron.mkbuild @@ -38,6 +38,12 @@ # SlackBuild PATH in Slack.Sarava tree [[SLACKBUILD PATH]]="sys/process/anacron" +# Install script +[[REST OF DOINST.SH]]="config etc/anacrontab.new" + +# Config files +[[CONFIG FILES]]="etc/privoxy/config etc/privoxy/trust" + #--------------------- # SlackBuild Sections #--------------------- @@ -68,7 +74,7 @@ off: compress_info_files on: install_documentation on: slackdesc off: move_config_files -off: postinstall_script + on: postinstall_script on: build_package on: clean_builds #<< End SlackBuild Sections @@ -92,12 +98,12 @@ anacron: #>install_package # Install -mkdir -p $PKG -mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8 +mkdir -p $PKG/usr/sbin $PKG/var/spool/anacron $PKG/usr/man/man5 $PKG/usr/man/man8 $PKG/etc cp anacron $PKG/usr/sbin cp anacrontab.5 $PKG/usr/man/man5 cp anacron.8 $PKG/usr/man/man8 +cp $CWD/anacrontab.new $PKG/etc gzip $PKG/usr/man/man5/anacrontab.5 gzip $PKG/usr/man/man8/anacron.8 diff --git a/sys/process/anacron/anacrontab.new b/sys/process/anacron/anacrontab.new new file mode 100644 index 0000000..793cf3e --- /dev/null +++ b/sys/process/anacron/anacrontab.new @@ -0,0 +1,7 @@ +# /etc/anacrontab +SHELL=/bin/sh +PATH=/sbin:/bin:/usr/sbin:/usr/bin +# format: period delay job-identifier command +1 5 cron.daily run-parts /etc/cron.daily +7 10 cron.weekly run-parts /etc/cron.weekly +@monthly 15 cron.monthly run-parts /etc/cron.monthly -- cgit v1.2.3