Merge pull request #1 from xitation/resolv_conf_fix

Update S30eth
This commit is contained in:
XiTatiON
2025-03-29 11:54:13 +11:00
committed by GitHub

View File

@@ -29,7 +29,7 @@ start() {
arping -Dqc2 -Ieth0 $addr || continue
ip a add $inet brd + dev eth0
ip r add default via $gw dev eth0
cat > /etc/resolve.conf << EOF
cat > /etc/resolv.conf << EOF
nameserver $gw
nameserver 8.8.8.8
nameserver 114.114.114.114
@@ -112,4 +112,4 @@ EOF
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
esac