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

Re: Inittab: command not executed



David&Mark, thanks for your explanation. I changed the runlevel to 2 and now
it works. I'll leave it that way, until i've learned some more about those
start scripts :)

Thanks
Dick

----- Original Message -----
From: "David Z Maze" <dmaze@debian.org>
To: <debian-user@lists.debian.org>
Sent: Monday, June 03, 2002 7:52 PM
Subject: Re: Inittab: command not executed


> "D.J. Bolderman" <dick@bolderman.xs4all.nl> writes:
> > In /etc/inittab i have the following line to start my adsl connection:
> > a1:35:once:/usr/sbin/adsl start
> > However, during bootup this line is not executed, because i still have
to
> > start my connection manually. I can't find anything in the logs either.
> > Anyone have a clue ?
>
> That looks like it should attempt to run that command in runlevels 3
> and 5, but on Debian the default runlevel is usually 2.  Maybe this is
> the problem?
>
> I'm also unclear why you aren't doing this the more "normal" way:
>
> -- Create /etc/init.d/adsl (copied from the skeleton file there);
>    perhaps your /usr/sbin/adsl is what this script should be.
> -- Create symlinks in /etc/rc3.d and /etc/rc5.d (and possibly
>    elsewhere, if you want this for all runlevels) that point to
>    ../init.d/adsl (e.g. 'ln -s ../init.d/adsl S90adsl').
>
> This also makes it far easier to adjust things; I find it much less
> painful to run (for a more conrete example) '/etc/init.d/gdm restart'
> when my display manager breaks on Debian, compared to changing
> runlevels twice to kick it on Red Hat.
>
> --
> David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
> "Theoretical politics is interesting.  Politicking should be illegal."
> -- Abra Mitchell
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: