initial commit of a *whole bunch* of old Egressive shell scripts, used to make many people redundant.

This commit is contained in:
Dave Lane 2016-03-16 13:43:31 +13:00
commit 43e0f5b59e
329 changed files with 31937 additions and 0 deletions

25
egautoupdates/egautoupdates Executable file
View file

@ -0,0 +1,25 @@
#! /bin/bash
LOG=/var/log/egautoupdates.log
APTGET=`which apt-get`
message () {
TIME=`date`
echo "$TIME: $@" >> $LOG
}
message ""
message "******** egAutoUpdate *******"
#
# update the current package lists
#
message "Updating package lists..."
$APTGET update >> $LOG
#
# apply any pending security updates
#
message "Applying security updates"
$APTGET upgrade -y -t breezy-security >> $LOG
message "Security updates applied (if found)"