remove superfluous checks in /var/lock creation.
[openwrt.git] / openwrt / package / ppp / files / ifup.pppoe
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>&- >&-
This page took 0.018819 seconds and 4 git commands to generate.