summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-05-20 15:29:19 +0000
committerNicolas Thill <nico@openwrt.org>2006-05-20 15:29:19 +0000
commit355c66c2b30baf9e07ce3b5132ab48f96bef5ef8 (patch)
tree0de0d4ddc43585bc9e829f5182060502f3d329fe /openwrt/package
parent7d52032e8162ee0cb50937b1df29445dd2720220 (diff)
downloadmtk-20170518-355c66c2b30baf9e07ce3b5132ab48f96bef5ef8.zip
mtk-20170518-355c66c2b30baf9e07ce3b5132ab48f96bef5ef8.tar.gz
mtk-20170518-355c66c2b30baf9e07ce3b5132ab48f96bef5ef8.tar.bz2
fix /var/log directory creation, needed for proper ppp operation.
SVN-Revision: 3807
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 277266c..3a6dea3 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 0f3c14e..ed3c5e1 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