Update os-version and motd also on update (#2196)

This commit is contained in:
Igor Pečovnik 2020-09-08 19:41:22 +02:00 committed by GitHub
parent 6dbd8414c0
commit eacb9df728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,6 +238,10 @@ fi
mv /usr/lib/chromium-browser/master_preferences.dpkg-dist /usr/lib/chromium-browser/master_preferences
fi
sed -i "s/^PRETTY_NAME=.*/PRETTY_NAME=\"Armbian $REVISION "${RELEASE^}"\"/" /etc/os-release
echo -e "Armbian ${REVISION} ${RELEASE^} \\l \n" > /etc/issue
echo "Armbian ${REVISION} ${RELEASE^}" > /etc/issue.net
systemctl --no-reload enable armbian-hardware-monitor.service armbian-hardware-optimize.service armbian-zram-config.service >/dev/null 2>&1
exit 0
EOF