1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-21 08:50:13 -07:00

Verify presence of /boot/nexus.txt

This commit is contained in:
Steve Magnuson 2020-08-31 17:43:30 -07:00
parent b6a28efc16
commit 9bdf44c7f5
2 changed files with 7 additions and 3 deletions

View File

@ -1 +1 @@
VERSION="2.3.26" VERSION="2.3.27"

View File

@ -2,9 +2,13 @@
# Script to print Nexus version and other info # Script to print Nexus version and other info
VERSION="1.1.0" VERSION="1.1.1"
[ -s /boot/nexus.txt ] || exit 0 if [ ! -s /boot/nexus.txt ]
then
echo "NEXUS_VERSION=unknown" > /tmp/nexus.txt
sudo mv /tmp/nexus.txt /boot/nexus.txt
fi
source /boot/nexus.txt source /boot/nexus.txt