3 Commits (8571fe39aa547499f007529ae82a5823325326bc)

Author SHA1 Message Date
alex 35f87341e6
base: preserve sysupdates channel on initial setup
the first run of update.sh sets up a cron job to run itself
periodically. the update script takes one position argument, the git
branch to pull changes from, which is also known as "sysupdates channel"
- master for stable, dev for testing.

the sysupdates channel was lost in the cron job setup, always defaulting
to master (stable). this commit preserves the original arg value given
to update.sh during the initial run.
2 years ago
alex 543e6b2809
base: preserve exec attr on /etc/cron.hourly/sysupdate
when testing upcoming changes on a live node, it is desirable to turn
off automatic updates simply by removing the x file permissions bit.
this commit makes sure the x bit is set only for newly created file.
2 years ago
alex cf56b2a567
base: switch from daily to hourly updates
in an event of a security vuln or other bug reports, nodes should get
updates as quickly as possible.
2 years ago