Re: Run script at boot time

2013-03-23 Thread Tony van der Hoff
On 22/03/13 14:38, Rob Owens wrote: > On Fri, Mar 22, 2013 at 10:50:15AM +, Tony van der Hoff wrote: >>> >> >> >> Unfortunately, that solution didn't seem to work. >> >> Indeed, in this instance, it doesn't matter when the script is run, >> except that the network must be running, so on the fa

Re: Run script at boot time

2013-03-22 Thread Rob Owens
On Fri, Mar 22, 2013 at 10:50:15AM +, Tony van der Hoff wrote: > > > > > Unfortunately, that solution didn't seem to work. > > Indeed, in this instance, it doesn't matter when the script is run, > except that the network must be running, so on the face of it, rc.local > would fit the bill.

Re: Run script at boot time

2013-03-22 Thread Tony van der Hoff
On 20/03/13 19:24, Joe wrote: > On Wed, 20 Mar 2013 14:53:09 + > Tony van der Hoff wrote: > >> On 20/03/13 14:29, Adam Wolfe wrote: >>> I'd go with /etc/rc.local >>> That's what it is for. >>> >>> >>> On 03/20/2013 10:23 AM, Tony van der Hoff wrote: Hi, Running Squeeze, I would

Re: Run script at boot time

2013-03-22 Thread Andrei POPESCU
On Mi, 20 mar 13, 15:51:53, Ralf Mardorf wrote: > If Debian still should use init, than /etc/rcS.d/, by lexical order. The order is generated automatically, based on dependency information in the headers. Joe explained it nicely. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUse

Re: Run script at boot time

2013-03-20 Thread Joe
On Wed, 20 Mar 2013 14:53:09 + Tony van der Hoff wrote: > On 20/03/13 14:29, Adam Wolfe wrote: > > I'd go with /etc/rc.local > > That's what it is for. > > > > > > On 03/20/2013 10:23 AM, Tony van der Hoff wrote: > >> Hi, > >> > >> Running Squeeze, I would like to run a script > >> (ltsp-up

Re: Run script at boot time

2013-03-20 Thread Ralf Mardorf
If Debian still should use init, than /etc/rcS.d/, by lexical order. I don't know how to do it for upstart and systemd, even while I'm running upstart and systemd on my machine. Soon or later I'll have to check out. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject

Re: Run script at boot time

2013-03-20 Thread Tony van der Hoff
On 20/03/13 14:29, Adam Wolfe wrote: > I'd go with /etc/rc.local > That's what it is for. > > > On 03/20/2013 10:23 AM, Tony van der Hoff wrote: >> Hi, >> >> Running Squeeze, I would like to run a script (ltsp-update-sshkeys) on >> each system boot. >> >> Where would I place a link to such a scri

Re: Run script at boot time

2013-03-20 Thread Frank Lanitz
Am 20.03.2013 15:23, schrieb Tony van der Hoff: > Hi, > > Running Squeeze, I would like to run a script (ltsp-update-sshkeys) on > each system boot. > > Where would I place a link to such a script; /etc/init.d hardly seems > appropriate? I'm guessing it needs to be run after networking has been >

Re: Run script at boot time

2013-03-20 Thread Adam Wolfe
I'd go with /etc/rc.local That's what it is for. On 03/20/2013 10:23 AM, Tony van der Hoff wrote: Hi, Running Squeeze, I would like to run a script (ltsp-update-sshkeys) on each system boot. Where would I place a link to such a script; /etc/init.d hardly seems appropriate? I'm guessing it nee

Re: Run script at boot time

2013-03-20 Thread David Guntner
Tony van der Hoff grabbed a keyboard and wrote: > Hi, > > Running Squeeze, I would like to run a script (ltsp-update-sshkeys) on > each system boot. > > Where would I place a link to such a script; /etc/init.d hardly seems > appropriate? I'm guessing it needs to be run after networking has been >

Run script at boot time

2013-03-20 Thread Tony van der Hoff
Hi, Running Squeeze, I would like to run a script (ltsp-update-sshkeys) on each system boot. Where would I place a link to such a script; /etc/init.d hardly seems appropriate? I'm guessing it needs to be run after networking has been set up in order to correctly generate the ssh keys for the chro