Hi,
I used /etc/rc.local to run at the boot a program, but it didn't, here
is what I wrote
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/bin/minbar
When I added the command as a script in /etc/rc2.d, it worked correctly.
following the doc , the file /etc/rc.local runs after the rc2.d.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-15-2009, 12:14 AM
Chris Burkhardt
rc.local is not executed
Mike McClain wrote:
> So my questions to you who have an installed /etc/rc.local are which
> package did it come from and how does it get executed?
/etc/init.d/rc.local is included with the initscripts package, and it executes
/etc/rc.local if it exists.
/etc/init.d/rc.local is symlinked to the appropriate /etc/rcX.d/ directory
(where X is the runlevel) and is executed when entering that runlevel.
This is the case in Lenny and -- I think -- in Etch. I don't know about before that.
- Chris B
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-15-2009, 04:11 PM
Mike McClain
rc.local is not executed
On Sat, Feb 14, 2009 at 06:14:06PM -0700, Chris Burkhardt wrote:
> Mike McClain wrote:
> > So my questions to you who have an installed /etc/rc.local are which
> > package did it come from and how does it get executed?
>
> /etc/init.d/rc.local is included with the initscripts package, and it executes
> /etc/rc.local if it exists.
>
> /etc/init.d/rc.local is symlinked to the appropriate /etc/rcX.d/ directory
> (where X is the runlevel) and is executed when entering that runlevel.
>
> This is the case in Lenny and -- I think -- in Etch. I don't know about before that.
>
> - Chris B
Thank you,
Mike
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org