split tasks per distribution, add msmtp

This commit is contained in:
2022-01-06 13:48:02 +01:00
parent 57e5333dc5
commit 042be1c6ea
10 changed files with 155 additions and 48 deletions

1
files/alpine/syslog.conf Normal file
View File

@ -0,0 +1 @@
SYSLOGD_OPTS="-R 10.3.0.1"

11
files/alpine/update.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/ash
APK=$(which apk)
UPDATE=$($APK -qU upgrade)
if [ "x$UPDATE" != "x" ];
then
echo -e "$HOSTNAME updated packages:\n"
echo -e "$UPDATE\n"
reboot
fi