diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 33 |
1 files changed, 17 insertions, 16 deletions
@@ -14,10 +14,11 @@ These scripts only currently support stable Slackware64 releases (sorry -current ## Installation and Configuration -There are three components. the [cron script](./src/autoupdate) which downloads -packages, the [rc.update script](./src/rc.update) which installs the packages, and -the [install-kernel script](./src/install-kernel) which updates your computer after a -kernel update. +There are three components. the [cron script](./src/slack-autoupdate) which +downloads packages, the [rc.slack-autoupdate script](./src/rc.slack-autoupdate) +which installs the packages, and the [install-kernel +script](./src/install-kernel) which updates your computer after a kernel +update. ### Cron script @@ -26,52 +27,52 @@ Your system downloads the packages using this script. Adjust the script using your favorite editor: ``` -vim src/autoupdate +vim src/slack-autoupdate ``` Then as root: ``` -cp src/autoupdate /etc/cron.daily -chown root:root /etc/cron.daily/autoupdate -chmod +x /etc/cron.daily/autoupdate +cp src/slack-autoupdate /etc/cron.hourly +chown root:root /etc/cron.hourly/slack-autoupdate +chmod +x /etc/cron.hourly/slack-autoupdate ``` -### rc.update +### rc.slack-autoupdate Your system updates your installed packages using this script. Adjust the script using your favorite editor: ``` -vim src/rc.update +vim src/rc.slack-autoupdate ``` Then as root: ``` -cp src/rc.update /etc/rc.d/ -chown root:root /etc/rc.d/rc.update +cp src/rc.slack-autoupdate /etc/rc.d/ +chown root:root /etc/rc.d/rc.slack-autoupdate ``` Then add this to /etc/rc.d/rc.local: ``` -if [ -x /etc/rc.d/rc.update ]; then - /etc/rc.d/rc.update +if [ -x /etc/rc.d/rc.slack-autoupdate ]; then + /etc/rc.d/rc.slack-autoupdate fi ``` To enable installation on reboot: ``` -chmod +x /etc/rc.d/rc.update +chmod +x /etc/rc.d/rc.slack-autoupdate ``` or to disable it again: ``` -chmod -x /etc/rc.d/rc.update +chmod -x /etc/rc.d/rc.slack-autoupdate ``` ### install-kernel |