From 8ffc910447a1f43d5e13ef9433cfdcf5ff2a5ac4 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 13 Dec 2007 05:50:24 +0000 Subject: add workaround for ppp-on-boot issues, fixes #2524 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9722 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ppp/files/ppp.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/ppp') diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh index 339b4e73e..82fcbc893 100644 --- 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 -- cgit v1.2.3