From 14821a23ee8c1779fd4df053d4d9def79a097d81 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 16 Jul 2023 18:21:42 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 1eabbc1..7ee2efd 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -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