Hi,
> I think it should be enough to check for the string `slip' in /proc/modules
> and the string `sl?:' in /proc/net/dev. Is this correct?
sl?: will only be in /proc/net/devif you have any serial line in xSLIBy mode
(alsattach or dip running). If there ius no serial/pty line in linemode,
there
Look for "sl0" in /proc/net/dev . I think that's a definitive test.
Thanks
Bruce
--
Clinton isn't perfect, but I like him a lot more than Dole.
Please register to vote, and vote for Democrats.
Bruce Perens AB6YM [EMAIL PROTECTED]http://www.h
Hi,
I would like the diald preinst script to check if the kernel has
SLIP devices (either compiled in or in as a module).
I think it should be enough to check for the string `slip' in /proc/modules
and the string `sl?:' in /proc/net/dev. Is this correct?
Thanks,
-giuseppe
PS: please cc
3 matches
Mail list logo