Update linupx-scripts.sh

This commit is contained in:
2023-07-16 18:21:42 -05:00
parent 31cf513c07
commit 14821a23ee

View File

@@ -750,7 +750,7 @@ RECONFIGURE_NETWORK(){
if [ -f /etc/netplan/99-netcfg-* ]; then
rm -f /etc/netplan/*.yaml >/dev/null 2>&1
mv /etc/netplan/eth0* /etc/netplan/eth0.yaml
[ -f /etc/netplan/eth0* ] && mv /etc/netplan/eth0* /etc/netplan/eth0.yaml
if [ ! -f /etc/netplan/eth0.yaml ]; then
echo -e "network:
version: 2