remove superfluous checks in /var/lock creation.
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 20 May 2006 18:58:04 +0000 (18:58 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 20 May 2006 18:58:04 +0000 (18:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3808 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 3a6dea3..f78a162 100644 (file)
@@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
        exit
 }
 
-[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
+mkdir -p /var/lock
 
 for module in slhc ppp_generic pppoatm; do
        /sbin/insmod $module 2>&- >&-
index ed3c5e1..c7019fc 100644 (file)
@@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
        exit
 }
 
-[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
+mkdir -p /var/lock
 
 for module in slhc ppp_generic pppox pppoe; do
        /sbin/insmod $module 2>&- >&-
index a9bc579..f401a36 100644 (file)
@@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
        exit
 }
 
-[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
+mkdir -p /var/lock
 
 for module in slhc ppp_generic ppp_async ip_gre; do
        /sbin/insmod $module 2>&- >&-
This page took 0.031866 seconds and 4 git commands to generate.