mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 20:36:27 +02:00
various cosmetic fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@864 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9ecebf8792
commit
64f9c0990a
@ -45,12 +45,6 @@ do {
|
|||||||
} done
|
} done
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
echo -n "fixing ipkg symlinks... "
|
|
||||||
for file in $( find /usr/lib/ipkg/info/*list -type l;)
|
|
||||||
do {
|
|
||||||
rm $file; cp -f /rom/$file $file
|
|
||||||
} done
|
|
||||||
|
|
||||||
touch /tmp/resolv.conf
|
touch /tmp/resolv.conf
|
||||||
ln -s /tmp/resolv.conf /etc/resolv.conf
|
ln -s /tmp/resolv.conf /etc/resolv.conf
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ domain=lan
|
|||||||
except-interface=vlan1
|
except-interface=vlan1
|
||||||
|
|
||||||
# enable dhcp (start,end,netmask,leasetime)
|
# enable dhcp (start,end,netmask,leasetime)
|
||||||
#dhcp-authoritative
|
dhcp-authoritative
|
||||||
dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
|
dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
|
||||||
dhcp-leasefile=/tmp/dhcp.leases
|
dhcp-leasefile=/tmp/dhcp.leases
|
||||||
|
|
||||||
|
@ -29,5 +29,5 @@ if_valid () {
|
|||||||
$DEBUG vconfig add $vif $i 2>&-
|
$DEBUG vconfig add $vif $i 2>&-
|
||||||
)
|
)
|
||||||
} ||
|
} ||
|
||||||
{ echo -e "# $1 ignored: can't find/create"; false; }
|
{ debug "# missing interface '$if' ignored"; false; }
|
||||||
}
|
}
|
||||||
|
@ -52,12 +52,10 @@
|
|||||||
fi
|
fi
|
||||||
${DEBUG:-eval} "udhcpc -i $if ${ip:+-r $ip} -b -p $pidfile &"
|
${DEBUG:-eval} "udhcpc -i $if ${ip:+-r $ip} -b -p $pidfile &"
|
||||||
;;
|
;;
|
||||||
pppoe)
|
none|"")
|
||||||
# handled by /etc/init.d/S50pppoe
|
# pppoe is handled by /etc/init.d/S50pppoe
|
||||||
;;
|
|
||||||
none)
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "### WARNING $if: $if_proto is not supported"
|
echo "### ifup $type: ignored ${type}_proto=\"$if_proto\" (not supported)"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user