[GTALUG] How to run script at bootup in Debian

Howard Gibson hgibson at eol.ca
Tue Jan 22 15:09:59 EST 2019


On Tue, 22 Jan 2019 19:46:24 +0000 (UTC)
William Park via talk <talk at gtalug.org> wrote:

> Hi all,
> I need to run a custom script at the later stage of bootup in Debian 9.5 (board is BeagleBone Black).  I seem to remember "rc.local" long ago, but it's gone in the latest Ubuntu and Debian.  Online search says
>     (1) simply create "/etc/rc.local", and systemd will automatically pick it up.
>     (2) use crontab, "@reboot ..."
> Which is "proper" way in Debian world?--William

William,

   On my Fedora 27 laptop, placing rc.local into /etc/rc.d worked.

   /etc/rc.d/rc.local

-- 
Howard Gibson 
hgibson at eol.ca
jhowardgibson at gmail.com
http://home.eol.ca/~hgibson


More information about the talk mailing list