projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0a49c
)
add workaround for ppp-on-boot issues, fixes #2524
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 13 Dec 2007 05:50:24 +0000
(
05:50
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 13 Dec 2007 05:50:24 +0000
(
05:50
+0000)
SVN-Revision: 9722
package/ppp/files/ppp.sh
patch
|
blob
|
history
diff --git
a/package/ppp/files/ppp.sh
b/package/ppp/files/ppp.sh
index 339b4e73e89cbc1a96546edb3006a2f2cbc4ffc3..82fcbc8939ab52c15974b937f15a8db47ba18e92 100644
(file)
--- a/
package/ppp/files/ppp.sh
+++ b/
package/ppp/files/ppp.sh
@@
-20,6
+20,10
@@
start_pppd() {
return 0
}
+ # Workaround: sometimes hotplug2 doesn't deliver the hotplug event for creating
+ # /dev/ppp fast enough to be used here
+ [ -e /dev/ppp ] || mknod /dev/ppp c 108 0
+
config_get device "$cfg" device
config_get unit "$cfg" unit
config_get username "$cfg" username