mirror of
https://github.com/AG7GN/nexus-utilities.git
synced 2025-05-21 00:40:12 -07:00
Verify presence of /boot/nexus.txt
This commit is contained in:
parent
b6a28efc16
commit
9bdf44c7f5
@ -1 +1 @@
|
||||
VERSION="2.3.26"
|
||||
VERSION="2.3.27"
|
@ -2,9 +2,13 @@
|
||||
|
||||
# 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user