diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/ppp/pppd/sys-linux.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mdk-stage1/ppp/pppd/sys-linux.c b/mdk-stage1/ppp/pppd/sys-linux.c index 3ab92dfba..beb6a3cc0 100644 --- a/mdk-stage1/ppp/pppd/sys-linux.c +++ b/mdk-stage1/ppp/pppd/sys-linux.c @@ -1903,21 +1903,6 @@ int ppp_available(void) kernel_version = KVERSION(osmaj, osmin, ospatch); fd = open("/dev/ppp", O_RDWR); -#if 0 - if (fd < 0 && errno == ENOENT) { - /* try making it and see if that helps. */ - if (mknod("/dev/ppp", S_IFCHR | S_IRUSR | S_IWUSR, - makedev(108, 0)) >= 0) { - fd = open("/dev/ppp", O_RDWR); - if (fd >= 0) - info("Created /dev/ppp device node"); - else - unlink("/dev/ppp"); /* didn't work, undo the mknod */ - } else if (errno == EEXIST) { - fd = open("/dev/ppp", O_RDWR); - } - } -#endif /* 0 */ if (fd >= 0) { new_style_driver = 1; |