1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

add workaround for ppp-on-boot issues, fixes #2524

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9722 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-12-13 05:50:24 +00:00
parent e373d77d2e
commit 8ffc910447

View File

@ -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