diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-12-13 05:50:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-12-13 05:50:24 +0000 |
commit | 084c9abec3a213f17a9abdf1292e4ecc1cbcd496 (patch) | |
tree | 9fc82d6b7ac420deeddb3adb2ce6bed612af1d0a /package/ppp | |
parent | 0f0a49c98f7e4c3acfaa37cc518fe5cc3f137b1e (diff) | |
download | mtk-20170518-084c9abec3a213f17a9abdf1292e4ecc1cbcd496.zip mtk-20170518-084c9abec3a213f17a9abdf1292e4ecc1cbcd496.tar.gz mtk-20170518-084c9abec3a213f17a9abdf1292e4ecc1cbcd496.tar.bz2 |
add workaround for ppp-on-boot issues, fixes #2524
SVN-Revision: 9722
Diffstat (limited to 'package/ppp')
-rw-r--r-- | package/ppp/files/ppp.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh index 339b4e7..82fcbc8 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 |