Scripts won't run at boot

David Fletcher dave at thefletchers.net
Tue Mar 8 10:44:49 UTC 2011


On Tue, 2011-03-08 at 12:26 +0200, Dotan Cohen wrote:
> I have a short script that I use to run other scripts:
> #!/bin/bash
> /path/to/executable
> /path/to/anotherExecutable
> 
> I need this script to run at boot. So I placed it in /etc/init.d and
> made it executable. However, it doesn't run! This on an Ubuntu 10.04
> machine. I tested on my own Kubuntu 10.10 machine, and it too doesn't
> run! Googling around I've read about how to turn it into a service and
> run it but that is a workaround: How does one have scripts run in
> modern Ubuntu? The fine manual [1] suggests that being in /etc/init.d
> (and being obviously executable) would be enough.

Use /etc/rc.local? I use it to start noip2 when my server boots.

Dave






More information about the ubuntu-users mailing list