summaryrefslogtreecommitdiffstats
path: root/openwrt/package
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/ppp/files/ifup.pppoa2
-rw-r--r--openwrt/package/ppp/files/ifup.pppoe2
2 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa
index 277266c0f..3a6dea325 100644
--- a/openwrt/package/ppp/files/ifup.pppoa
+++ b/openwrt/package/ppp/files/ifup.pppoa
@@ -9,6 +9,8 @@ eval "proto=\"\${${type}_proto}\""
exit
}
+[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
+
for module in slhc ppp_generic pppoatm; do
/sbin/insmod $module 2>&- >&-
done
diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe
index 0f3c14ed0..ed3c5e1ea 100644
--- a/openwrt/package/ppp/files/ifup.pppoe
+++ b/openwrt/package/ppp/files/ifup.pppoe
@@ -9,6 +9,8 @@ eval "proto=\"\${${type}_proto}\""
exit
}
+[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
+
for module in slhc ppp_generic pppox pppoe; do
/sbin/insmod $module 2>&- >&-
done