Remove DNS
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user