update
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
FOLDER='/opt/idssys/linupx'
|
FOLDER='/opt/idssys/linupx'
|
||||||
VERS='6.60.15-09202023'
|
VERS='6.60.16-09272023'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -720,7 +720,8 @@ RECONFIGURE_NETWORK(){
|
|||||||
netplan apply >/dev/null 2>&1
|
netplan apply >/dev/null 2>&1
|
||||||
echo "${idsCL[Green]}Done${idsCL[Default]}\n\n"
|
echo "${idsCL[Green]}Done${idsCL[Default]}\n\n"
|
||||||
|
|
||||||
elif [ ! -f /etc/sysconfig/network-scripts/ifcfg-eth0 ] || grep /etc/sysconfig/network-scripts/ifcfg-eth0 -e "Generated by VMWare" >/dev/null; then
|
elif [ -d /etc/sysconfig/network-scripts ]; then
|
||||||
|
if [ ! -f /etc/sysconfig/network-scripts/ifcfg-eth0 ] || grep /etc/sysconfig/network-scripts/ifcfg-eth0 -e "Generated by VMWare" >/dev/null; then
|
||||||
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0 >/dev/null 2>&1
|
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0 >/dev/null 2>&1
|
||||||
echo -e "TYPE=Ethernet
|
echo -e "TYPE=Ethernet
|
||||||
PROXY_METHOD=none
|
PROXY_METHOD=none
|
||||||
@@ -742,6 +743,7 @@ IPV6_DISABLED=yes
|
|||||||
" > /etc/sysconfig/network-scripts/ifcfg-eth0
|
" > /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
|
||||||
/usr/bin/nmcli connection up eth0 >/dev/null 2>&1
|
/usr/bin/nmcli connection up eth0 >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user