summaryrefslogtreecommitdiffstats
path: root/hosts/cbxi4pro0-armhf-rb/etc/rc.local
AgeCommit message (Collapse)AuthorFilesLines
2017-04-29rc.local/update_jdn.sh: rework disabling dsa-check-packagesAlexander Couzens1-3/+0
When rc.local was executed, it disables dsa-check-packages via ln -sf /bin/true /usr/local/bin/dsa-check-packages which disables it. But when the next time update_jdn.sh run, update_jdn.sh overwrite /bin/true with the original dsa-check-packages perl script. All scripts which use /bin/true rather than a built-in (like bash) might fail if some packages are outdated. Disabling of dsa-check-packages is done now in update_jdn.sh, but after dsa-check-packages got overwritten. It's also now using a one line shell script instead of a symbolic link, which allows to add a comment. Also add temporary check if /bin/true is a perl script and repair it by reinstalling coreutils. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-28simplify (and fix) check for incorrect mtuHolger Levsen1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-28add debugging output and change system lastHolger Levsen1-19/+18
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-03-30reproducible Debian: set eth's MTU to 1500 on boot, if it's not set to 1500Holger Levsen1-0/+14
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-21reproducible Debian: add code to fixup /(dev|run)/shm on boot, see #851427Holger Levsen1-0/+10
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-21reproducible Debian: refactor, use one common rc.local script for all hostsHolger Levsen1-2/+68
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2015-12-21use 'date -u' alwaysHolger Levsen1-1/+1
2015-09-07send mail on reboot for all nodesHolger Levsen1-0/+16