projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove superfluous checks in /var/lock creation.
[openwrt.git]
/
openwrt
/
package
/
pptp
/
files
/
ifup.pptp
diff --git
a/openwrt/package/pptp/files/ifup.pptp
b/openwrt/package/pptp/files/ifup.pptp
index a9bc579b5697830669402f7e9251583f36b2a10f..f401a36b2fa6e88aacc6845c48d8b6d762bce73f 100644
(file)
--- a/
openwrt/package/pptp/files/ifup.pptp
+++ b/
openwrt/package/pptp/files/ifup.pptp
@@
-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>&- >&-