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

Re: Run script at boot time



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
> set up in order to correctly generate the ssh keys for the chroot.
> 
> I don't really understand the boot sequence nowadays. Any advice
> appreciated.

I don't know how "in vogue" this is these days, but I've always used
/etc/rc.local (edit that file to add local things to run at boot time)
for that purpose.  That's its purpose for being, anyway. :-)

                   --Dave



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: