On 06-Sep-98 Steve Mills wrote:
Ok, tell me not to tinker with certain things. I deserve the scolding.
Yes. SMACK.
I was trying to edit the file /sbin/setserial in order to see how to make my boot do the following: setserial /dev/ttyS2 irq 11 What I did was hose the file. It can't be used since it is now a binary file. Can I just recompile and restore it? Maybe just make dep? Advice, please.
Does anyone know what file I should edit to add "setserial /dev/ttyS2 irq
Never touch /sbin/setserial. This is the binary executable (which from what you say may still be valid, but don't bank on it if you have interefered with it) which sets up a serial port according to the parameters in the command "/sbin/setserial <params>". The text file you should edit is (in S.u.S.E.-5.1 at any rate) /sbin/init.d/serial (For explanations, see "man setserial".) This is a script which calls the program /sbin/setserial repeatedly according to the requirements which you specify by editing /sbin/init.d/serial. If you have managed to modify /sbin/setserial by accident, you may have to re-instate it off the CD somehow. Not sure about the best way to do this. Hope this helps, and good luck. Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Date: 06-Sep-98 Time: 17:09:45 -------------------------------------------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e