Skip to content

Commit 5f0331d

Browse files
Remove read only and user_level
Fixes user_level variable not used issue. Was used to check for user level in an early version of the script. Also removed readonly (issues with another script where the build would not pass with the statement included).
1 parent e8df6ba commit 5f0331d

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

mi.sh

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
#--------><--------><--------><--------><--------><--------><--------><-------->
33
# Author : OneOfTheInfinteMonkeys
4-
# Revision : 1.3
5-
# Date : 30 Oct 2021
4+
# Revision : 1.4
5+
# Date : 22 Jan 2021
66
# License : MIT
77
#------------------:
88
# Comments : Recover Raspberry Pi board version and return additional release information
@@ -20,17 +20,16 @@
2020
# Requires : raspi-boards.txt in the same folder as this script
2121
#--------------------------------------------------------------------------------
2222
#
23-
readonly App_version="01.3" # App version
24-
readonly App_date="2020-10-30" # App release date
25-
readonly App_time="00:00" # App release time
26-
readonly App_Name="More-Info" # Default application name
23+
App_version="01.4" # App version
24+
App_date="2022-01-22" # App release date
25+
App_time="00:00" # App release time
26+
App_Name="More-Info" # Default application name
2727

2828
#---------------------------------------
2929
# Requirements for tests performed in the script
3030
#---------------------------------------
31-
readonly req_bashversion=4 # Equal or greater than - expressed as a version
32-
readonly req_userlevel=1000 # Equal to - expressed as a user level
33-
readonly req_osversion=10 # Equal or greater than - expressed as a version
31+
req_bashversion=4 # Equal or greater than - expressed as a version
32+
req_osversion=10 # Equal or greater than - expressed as a version
3433

3534
#---------------------------------------
3635
# Set defaults for any Command Line Parameters

0 commit comments

Comments
 (0)