mkdir -p $(IDIR_BASE)/usr/lib
mkdir -p $(IDIR_BASE)/usr/bin
mkdir -p $(IDIR_BASE)/www
- ln -sf /tmp/resolv.conf $(IDIR_BASE)/etc/resolv.conf
rm -f $(IDIR_BASE)/var
ln -sf /tmp $(IDIR_BASE)/var
-find $(IDIR_BASE) -type d -name CVS | xargs rm -rf
} done
}
- [ -f /etc/resolv.conf ] || {
- debug "# --- creating /etc/resolv.conf ---"
+ [ -f /tmp/resolv.conf ] || {
+ debug "# --- creating /tmp/resolv.conf ---"
for dns in $(nvram get ${2}_dns); do
- echo "nameserver $dns" >> /etc/resolv.conf
+ echo "nameserver $dns" >> /tmp/resolv.conf
done
}
--- /dev/null
+nameserver 127.0.0.1
+search lan
domain=lan
expand-hosts
+resolv-file=/tmp/resolv.conf
+
# enable dhcp (start,end,netmask,leasetime)
dhcp-authoritative
#dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h