Update linupx-scripts.sh
This commit is contained in:
@@ -750,7 +750,7 @@ RECONFIGURE_NETWORK(){
|
|||||||
|
|
||||||
if [ -f /etc/netplan/99-netcfg-* ]; then
|
if [ -f /etc/netplan/99-netcfg-* ]; then
|
||||||
rm -f /etc/netplan/*.yaml >/dev/null 2>&1
|
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
|
if [ ! -f /etc/netplan/eth0.yaml ]; then
|
||||||
echo -e "network:
|
echo -e "network:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user