Re: initdefault has no effect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ed Greshko wrote:
> Mike Burger wrote:
>   
>> Mike Burger wrote:
>>     
>>> Tim wrote:
>>>       
>>>> On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote:
>>>>  
>>>>         
>>>>> I have /etc/inittab set up as follows, but the system always starts
>>>>> with the X Window System running.  What am I missing?
>>>>>     
>>>>>           
>>>>  
>>>>         
>>>>> # id:5:initdefault:
>>>>> id:1:initdefault:
>>>>>     
>>>>>           
>>>> I seem to recall seeing that before, delete the commented-out line.
>>>>   
>>>>         
>>> In order to comment out a line in inttab, you need to use a
>>> semicolon, rather than a pound sign.
>>>       
>> To clarify...the reason that this didn't work, in the first place, is
>> that the initial initdefault line wasn't truly commented out, due to
>> the pound sign instead of the semicolon.
>>
>> After that, the init processing for an entry stops on the first
>> match...since the "not properly commented" entry was first, it got
>> matched, and runlevel 5 was how the system came up.
>>
>>     
> I don't quite understand what you are saying....
>
> You said "the init processing for an entry stops on the first match". 
> What is being matched to what?  Also, if the # isn't a comment character
> then how are the other 25 lines in the inittab being parsed?
>
> Thanks....
>
>   
Never mind.....  I see what you are saying after all....  I forgot for
the moment that the original id line was left in the modified file.... 
Duh...

-- 
Is it a right to remain ignorant? -- Calvin Mei-Mei.Greshko@xxxxxxxxxxx
http://tw.youtube.com/watch?v=cCSz_koUhSg

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux