fix a horrible memleak in ipkg (#2702)
[openwrt.git] / package / ppp / files / ppp.sh
index 339b4e7..82fcbc8 100644 (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
This page took 0.026338 seconds and 4 git commands to generate.