LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-18-2009, 05:41 AM   #1
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
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
 
Old 03-18-2009, 10:15 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

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


Reply

Tags
console, serial, upstart


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
serial port failure: Resource temporarily unavailable infinition Linux - Software 0 01-06-2009 11:56 AM
serial console pvpnguyen Red Hat 1 11-17-2007 02:42 PM
Xen The console is currently unavailable dludenar Linux - Software 0 05-24-2007 04:10 AM
Serial Console zaicheke Linux - Networking 4 11-14-2004 08:55 PM
serial console ixion Linux - Software 3 03-19-2003 01:36 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration