On Mon, 2018-06-25 at 06:38 +0800, Ed Greshko wrote: > On 06/25/18 05:43, Patrick O'Callaghan wrote: > > On Sun, 2018-06-24 at 11:25 -0700, Joe Zeff wrote: > > > On 06/24/2018 10:55 AM, JD wrote: > > > > On 06/24/2018 11:37 AM, Joe Zeff wrote: > > > > > On 06/24/2018 10:27 AM, JD wrote: > > > > > > But I do not want to do this loop every time I boot up. > > > > > > I want to have set once and for all!!! > > > > > > > > > > There's probably a proper way to do that, but until somebody finds it, > > > > > put that into a shell script and call it from rc.local. > > > > > > > > So far, the ways I have found on google search have not survived > > > > a reboot :( > > > > > > That's why you use rc.local. It's a shell script called at the end of > > > boot that you can use for any special or non-standard stuff you want or > > > need done. > > > > Note that you now have to explicitly enable rc.local to make it run at > > boot time: > > > > # systemctl enable rc-local.service > > Who told you that? It is a "static" service and need not be enabled. > > Before creation of an executable /etc/rc.d/rc.local file > > [egreshko@f28k-b1 ~]$ systemctl status rc-local.service > ● rc-local.service - /etc/rc.d/rc.local Compatibility > Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: > disabled) > Active: inactive (dead) > Docs: man:systemd-rc-local-generator(8) > > After creation and rebooting without enabling. > > ● rc-local.service - /etc/rc.d/rc.local Compatibility > Loaded: loaded (/usr/lib/systemd/system/rc-local.service; enabled-runtime; vendor > preset: disabled) > Active: active (exited) since Mon 2018-06-25 06:32:27 CST; 1min 30s ago > Docs: man:systemd-rc-local-generator(8) > Process: 652 ExecStart=/etc/rc.d/rc.local start (code=exited, status=0/SUCCESS) > > Jun 25 06:32:27 f28k-b1.greshko.com systemd[1]: Starting /etc/rc.d/rc.local > Compatibility... > Jun 25 06:32:27 f28k-b1.greshko.com systemd[1]: Started /etc/rc.d/rc.local Compatibility.# I'm sure I read that on this list, but it was quite a long time ago so I may have misunderstood or misremembered. Obviously it was always static in traditional Unix/Linux systems but with systemd one can never be sure. Note that the man page recommends it not be used, so I wonder how long it will continue to be supported. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/CVWXCSC7CDX72OKONCHYY22SSC4KTFCY/