Update linupx-scripts.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/linupx'
|
||||
VERS='6.9-08122023'
|
||||
VERS='6.20-08122023'
|
||||
|
||||
if [ -d /opt/idssys/settings ]; then
|
||||
[ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings
|
||||
@@ -818,6 +818,7 @@ IPV6_DISABLED=yes
|
||||
netplan apply
|
||||
|
||||
elif [ -f /etc/sysconfig/network-scripts/ifcfg-eth0 ]; then
|
||||
|
||||
/usr/bin/nmcli connection modify eth0 ipv4.addresses ${IPADDRESS}/${NEWSUB}
|
||||
/usr/bin/nmcli connection modify eth0 ipv4.dns "${PRIDNS}"
|
||||
[ "${SECDNS}" != "" ] && /usr/bin/nmcli connection modify eth0 +ipv4.dns "${SECDNS}"
|
||||
|
||||
Reference in New Issue
Block a user