fix /var/log directory creation, needed for proper ppp operation.
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 20 May 2006 15:29:19 +0000 (15:29 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 20 May 2006 15:29:19 +0000 (15:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3807 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/ppp/files/ifup.pppoa
openwrt/package/ppp/files/ifup.pppoe

index 277266c..3a6dea3 100644 (file)
@@ -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
index 0f3c14e..ed3c5e1 100644 (file)
@@ -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
This page took 0.024639 seconds and 4 git commands to generate.