« Return to Thread: inittab

Re: inittab

by Jay Daniels-2 :: Rate this Message:

Reply to Author | View in Thread

Florian Diesch wrote:

> Sundar Nagarajan <sundar.personal@...> 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


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

 « Return to Thread: inittab