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

Re: Run script at boot time



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
> 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.

E.g. adding a script into crontab with @reboot or adding your script to
a runlevel. Good startpoint could be http://wiki.debian.org/RunLevel

Cheers,
Frank



Reply to: