Remove DNS

This commit is contained in:
root
2025-12-21 14:45:07 -08:00
parent 031020dfa3
commit ab2f06f0ac

View File

@@ -3,7 +3,6 @@
# --- CONFIGURATION ---
IP=${STATIC_IP:-"192.168.0.116/24"}
GW=${STATIC_GW:-"192.168.0.1"}
DNS=${STATIC_DNS:-"192.168.0.113"}
echo "--- ClamAV Network Init ---"
echo "Using IP: $IP"
@@ -19,10 +18,7 @@ iface eth0 inet static
gateway $GW
EOF
# 2. Set DNS
echo "nameserver $DNS" > /etc/resolv.conf
# 3. Wait for Hardware & Start Network
# 2. Wait for Hardware & Start Network
sleep 5
ifup eth0