On 06/25/18 06:12, JD wrote:
>
>
> On Sun, Jun 24, 2018 at 12:25 PM, Joe Zeff <j...@zeff.us 
> <mailto:j...@zeff.us>> 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.
>     _______________________________________________
>
>
> ​I have enabled rc-local:
> sudo systemctl enable rc-local
> which is supposed to automagically execute /etc/rc.d/rc.local during bootup,
> but for some strange reason, rc.local is not being automagcally executed,
> even though (as I explained already, it is an executable shell script with
> execute permissions set.
>
> I have to run it by hand.
> ​
>

You should then do "systemctl status rc-local" to see if you get (code=exited,
status=0/SUCCESS).  It is possible that the environment isn't the same when run 
by
hand.  Or, there could be another reason why a script would fail in "unattended"
mode.   I ran into that a few years back where it seemed the script wasn't 
running
but in fact was failing for an altogether different reason which I can't recall.



-- 
Conjecture is just a conclusion based on incomplete information. It isn't a 
fact.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org/message/25K5HPO5DHWNWJVJ4IV5FCEM67IYPBR3/

Reply via email to