summaryrefslogtreecommitdiff
path: root/package/ppp/files/ppp.pre-up
diff options
context:
space:
mode:
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