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.pppoe
diff --git
a/openwrt/package/ppp/files/ifup.pppoe
b/openwrt/package/ppp/files/ifup.pppoe
index ed3c5e1eaba7a27397a7e7e61775a38f60922ee7..c7019fc39814f46275725293c1e2c6c46199bf11 100644
(file)
--- a/
openwrt/package/ppp/files/ifup.pppoe
+++ b/
openwrt/package/ppp/files/ifup.pppoe
@@
-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>&- >&-