setserial bugfix

Rerwin reported in the 4.1alpha4 forum feedback thread that setserial can crash if applied to other than serial modems.

I have applied the fix to /etc/rc.d/rc.sysinit and also to /usr/sbin/modemtest.

The setserial utility is supposed to configure the modem so that it can be used. For example, it can be made to automatically select the correct IRQ line. I don't know what the story is with other than serial hardware modems, but anyway the above scripts are now limited to only running setserial for /dev/ttyS0 - ttyS4 devices.

Posted on 26 Jul 2008, 17:21


No comments posted yet.