Re: [GTALUG] How to run script at bootup in Debian
On Tue, Jan 22, 2019 at 03:09:59PM -0500, Howard Gibson wrote: > On Tue, 22 Jan 2019 19:46:24 + (UTC) > William Park via talk 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 --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] How to run script at bootup in Debian
On Tue, 22 Jan 2019 19:46:24 + (UTC) William Park via talk 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 hgib...@eol.ca jhowardgib...@gmail.com http://home.eol.ca/~hgibson --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
[GTALUG] How to run script at bootup in Debian
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 --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk