diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-05-20 15:29:19 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-05-20 15:29:19 +0000 |
commit | 355c66c2b30baf9e07ce3b5132ab48f96bef5ef8 (patch) | |
tree | 0de0d4ddc43585bc9e829f5182060502f3d329fe /openwrt/package | |
parent | 7d52032e8162ee0cb50937b1df29445dd2720220 (diff) | |
download | mtk-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.pppoa | 2 | ||||
-rw-r--r-- | openwrt/package/ppp/files/ifup.pppoe | 2 |
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 |