From fad2b6bf6e359c8166abbfe53d5a1cf99c3f85a5 Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 20 May 2006 15:29:19 +0000 Subject: fix /var/log directory creation, needed for proper ppp operation. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3807 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/ppp/files/ifup.pppoa | 2 ++ openwrt/package/ppp/files/ifup.pppoe | 2 ++ 2 files changed, 4 insertions(+) (limited to 'openwrt') diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa index 277266c0f5..3a6dea3259 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 0f3c14ed0d..ed3c5e1eab 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 -- cgit v1.2.3