initdefault has no effect

Mike Burger mburger at bubbanfriends.org
Tue Apr 7 01:21:27 UTC 2009


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.




More information about the users mailing list