LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   initctl: make serial console unavailable (https://www.linuxquestions.org/questions/fedora-35/initctl-make-serial-console-unavailable-712453/)

polemon 03-18-2009 04:41 AM

initctl: make serial console unavailable
 
Hi, I've got an old vt220 attached to my ttyS0 port.

I can start a console on it with:

initctl emit --no-wait fedora.serial-console-available <device> <speed>

but how do I actually stop it?
Rebooting the computer or putting it in runlevel 1 is one way, but looking at /etc/event.d/serial, I don't see where there's actually a definition that should be acted upon when deactivating the console.

Any Ideas of how I may add that functionality to the script so I could deactivate the console?
I don't have much experience with upstart, I don't even know how to reload the files that reside in /etc/event.d .

Please help
--polemon

frieza 03-18-2009 09:15 PM

perhaps a ps-ef | grep ttyS0 then killing the process running on the console?


All times are GMT -5. The time now is 04:12 AM.