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
/
ppp
/
files
/
ifup.pppoa
diff --git
a/openwrt/package/ppp/files/ifup.pppoa
b/openwrt/package/ppp/files/ifup.pppoa
index 3a6dea325987c58358a0d8cd88262cd2ec8509a3..f78a162ce517145df1f28370be181ba6714ce702 100644
(file)
--- a/
openwrt/package/ppp/files/ifup.pppoa
+++ b/
openwrt/package/ppp/files/ifup.pppoa
@@
-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>&- >&-