Update linupx-scripts.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/linupx'
|
||||
VERS='5.86-05022023'
|
||||
VERS='5.88-06242023'
|
||||
|
||||
if [ -d /opt/idssys/settings ]; then
|
||||
[ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings
|
||||
@@ -667,6 +667,10 @@ COPYCERTS_UPDATE(){
|
||||
[ ${1-x} ] && exit 0 || read -n 1 -s -p "Press any key to continue"
|
||||
}
|
||||
|
||||
UPDATEREPOKEYS(){
|
||||
apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
|
||||
}
|
||||
|
||||
SCRIPT_MENU() {
|
||||
if [ -f ${FOLDER}/lastrun ]; then
|
||||
LASTRUND=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f1)
|
||||
@@ -721,6 +725,7 @@ SCRIPT_MENU() {
|
||||
echo " [0] Enable/Disable Automatic Security Updates"
|
||||
echo ""
|
||||
fi
|
||||
echo " [K] Update/Fix Missing APT Repo Keys"
|
||||
echo " [I] Installation Scripts"
|
||||
echo ""
|
||||
# echo " [L] Enable Remote Syslog"
|
||||
@@ -767,6 +772,8 @@ SCRIPT_MENU() {
|
||||
SCRIPT_MENU;;
|
||||
[Pp]) PYTHON3UPGRADE
|
||||
SCRIPT_MENU;;
|
||||
[Kk]) UPDATEREPOKEYS
|
||||
SCRIPT_MENU;;
|
||||
[Rr]) GO_REBOOT
|
||||
SCRIPT_MENU;;
|
||||
[Ss]) SHUTDOWN
|
||||
|
||||
Reference in New Issue
Block a user