summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-20 15:29:19 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-20 15:29:19 +0000
commitfad2b6bf6e359c8166abbfe53d5a1cf99c3f85a5 (patch)
tree849cbba0e1d491204e8703485d6d2abfef060a76 /openwrt
parentbb5a6b5631840aecfc7633befb8b4b76175cf5af (diff)
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
Diffstat (limited to 'openwrt')
-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