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 .