LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-19-2010, 02:46 AM   #1
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Rep: Reputation: 18
In Fedora13 /etc/event.d Now /etc/sysconfig/init


What a nuisance after upgrading from Fedora 12 to Fedora 13 the terminal initialisation and the running of agetty agetty doesn't work any more. Same for printer configurations.

Apparently this should now be done in /etc/sysconfig/init but where is the documentation?

Can anyone point me at some instructions on how to use the new /etc/sysconfig/init to do what the event.d scripts used to do.
 
Old 08-19-2010, 09:08 AM   #2
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Quote:
Originally Posted by keirvt View Post
What a nuisance after upgrading from Fedora 12 to Fedora 13 the terminal initialisation and the running of agetty agetty doesn't work any more. Same for printer configurations.

Apparently this should now be done in /etc/sysconfig/init but where is the documentation?

Can anyone point me at some instructions on how to use the new /etc/sysconfig/init to do what the event.d scripts used to do.
Look at /etc/init. Create a file with the extention of .conf to do what you previously did in the inittab file. An example for tty.conf is already there.

It took me a while to figure this out to use my usb modem for dialin, but putting a file with this content was all that was necessary after the modem installation:

/etc/init/serial-ttyACM0.conf
Code:
start on stopped rc RUNLEVEL=[2345]
stop on starting runlevel [016]

respawn
exec /sbin/mgetty /dev/ttyACM0
At present the only function that the inittab provides is the initial run level.

I created a different serial.conf file for each of my modems. The name used didn't matter. I used names to make it easy for me to recall what each one does.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
Old 08-20-2010, 01:34 AM   #3
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 18
Thanks

Excellent. That looks like it will do what I need. Thanks for the information I'll try that out on the live system on Monday. Thanks again
 
  


Reply



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
[SOLVED] Fedora13 nfs problem jkim74 Fedora 2 07-26-2010 06:46 AM
[SOLVED] Upgrade from fedora12 to fedora13? Manish87 Linux - Newbie 4 07-01-2010 11:53 PM
LXer: Ubuntu's Upstart event-based init daemon LXer Syndicated Linux News 0 02-08-2008 08:30 AM
/etc/sysconfig/cron missing in /etc/init.d/cron vm_devadas SUSE / openSUSE 1 01-28-2008 09:07 AM
Fire Event from other event in Visual C++ Express Edition chrisliando Programming 1 11-08-2007 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration