Merge pull request #421 from xitation/main

Resolve typo in eth config that breaks dns resolving.
This commit is contained in:
BuGu
2025-04-16 15:46:40 +08: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