inittab

Jay Daniels jaydanie at gmail.com
Fri Jul 3 15:31:41 UTC 2009


Florian Diesch wrote:
> Sundar Nagarajan <sundar.personal at gmail.com> wrote:
> 
> 
>> Ubuntu (Debian) does not use the runlevels (other than 1). And 
>> (apparently, this is new to me too), Debian does not use /etc/inittab.
> 
> Ubuntu uses upstart instead of sysvinit; upstart uses /etc/event.d/
> instead of inittab
> 
> 
> 
>    Florian

Yes, Ubuntu Desktop (hardy at least) will use /etc/inittab if it exist.

##/etc/event.d/rc-default contains close to top of file...

	elif [ -r /etc/inittab ]; then
	    RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc
/inittab || true)"
	    if [ -n "$RL" ]; then
		telinit $RL
	    else
		telinit 2

But what is proper runlevel for multiuser console mode on ubuntu???


jay





More information about the ubuntu-users mailing list