summaryrefslogtreecommitdiff
path: root/package/ppp/files/ppp.pre-up
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-07 02:16:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-07 02:16:43 +0200
commit52ee190f6bbbf0bf0c3d354f0370c409aed14506 (patch)
tree4cce29e6f802e8e1f2aa7b85746a979633a4c282 /package/ppp/files/ppp.pre-up
parent1879491b2b6e799b20ac06d1b510726eb200944f (diff)
more runtime fixes, update of some packages.
- update busybox, dnsmasq, ppp and libusb - add timezone and hostname configuration for target via menu - fix resolv.conf creation for dhcp client - fix usb for alix boards - enable lsusb and lspci by default
Diffstat (limited to 'package/ppp/files/ppp.pre-up')
-rwxr-xr-xpackage/ppp/files/ppp.pre-up3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ppp/files/ppp.pre-up b/package/ppp/files/ppp.pre-up
index 9f82aa98c..79fb063ba 100755
--- a/package/ppp/files/ppp.pre-up
+++ b/package/ppp/files/ppp.pre-up
@@ -37,6 +37,9 @@ REPLACE="
sed "$REPLACE" < /etc/ppp/templates/$IF_USE_TEMPLATE > /etc/ppp/peers/$IF_PROVIDER
case "$IF_PPP_DEVICE" in
+eth*)
+ ip link set up dev $IF_PPP_DEVICE
+ ;;
nas*)
[ "$IF_PPP_ENCAPS" ] || encap=0
[ "$IF_PPP_PAYLOAD" ] || payload=1