[GTALUG] How to run script at bootup in Debian
William Park
opengeometry at yahoo.ca
Wed Jan 23 00:24:53 EST 2019
On Tue, Jan 22, 2019 at 03:09:59PM -0500, Howard Gibson wrote:
> 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
That's where it is on Slackware, too. But, I'm working with Debian 9.5
which comes with BeagleBone Black. I tried option (1), and it seems to
work.
--
William Park <opengeometry at yahoo.ca>
More information about the talk
mailing list