Make sure that the OS in the admin panel matches the actual system OS

This commit is contained in:
David Duque 2020-05-17 02:45:35 +01:00
parent 959281c635
commit 1513655bc4
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
2 changed files with 4 additions and 2 deletions

View File

@ -180,8 +180,8 @@
<hr>
<footer>
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (Debian
GNU/Linux 10)</p>
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (via __OSTAG__)
</p>
</footer>
</div> <!-- /container -->

View File

@ -18,6 +18,8 @@ if [ "$OS" != "Debian GNU/Linux 10 (buster)" -a "$OS" != "Ubuntu 20.04 LTS" ]; t
exit 1
fi
sed -i "s/__OSTAG__/$OS/g" management/templates/index.html
# Check that we have enough memory.
#
# /proc/meminfo reports free memory in kibibytes. Our baseline will be 512 MB,