diff options
-rw-r--r-- | sys/process/anacron/anacron.mkbuild | 12 | ||||
-rw-r--r-- | sys/process/anacron/anacrontab.new | 7 |
2 files changed, 16 insertions, 3 deletions
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 |