<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div><span lang="en"><span>I did</span> <span>some tests</span>:<br></span><br><span lang="en"><span>This</span> <span>is the content</span> <span>of the file /etc/rc.d/rc.local that I used:<br>------------------------------<br></span></span>#!/bin/bash <br># this is the file /ctc/rc./rc.local<br><br>/etc/rc.d/dummy-test.sh<br>/etc/rc.d/syncronize-java_srcs.sh<br><span lang="en"><span><span lang="en"><span></span></span>------------------------------<br><br></span></span></div><span lang="en"><span>I put inside it two script to be executed:<br></span></span><br>/etc/rc.d/dummy-test.sh                   (<span tabindex="-1" id="result_box" class="" lang="en"><span class="">to make a simple</span> <span class="">copy of a file)<br></span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class="">/etc/rc.d/syncronize-java_srcs.sh      (</span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class="">to make backups</span> <span class="">..)<br><br>------------</span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class="">-----------------------</span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class=""><br>[angelo_dev@zorro rc.d]$ cat dummy-test.sh<br>#!/bin/bash<br>cp /home/angelo_dev/Documents/dconf-Editor.xcf /media/PRTZ-src_sync<br>--</span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class="">-------------------------------<br></span></span><br><span tabindex="-1" id="result_box" class="" lang="en"><span class=""><span tabindex="-1" id="result_box" class="" lang="en"><span class="">--</span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class="">-------------------------------<br></span></span>[angelo_dev@zorro rc.d]$ cat syncronize-java_srcs.sh<br>#!/bin/bash<br># this is the file /home/angelo_dev/bin/syncronize-java_srcs.sh<br><br><br>rsync -av --delete --include=&#39;*/&#39; --include=&#39;*.java&#39; --include=&#39;*.form&#39; --exclude=&#39;*&#39; \<br>                            /home/programmers/java/PROJECTS_development/ \<br>                            /media/PRTZ-src_sync<br></span></span><span tabindex="-1" id="result_box" class="" lang="en"><span class=""><span tabindex="-1" id="result_box" class="" lang="en"><span class="">---------------------------</span></span><br><br></span></span></div><div><span tabindex="-1" id="result_box" class="" lang="en"><span class="">the scripts are both in the same directory... ( the same directory than rc.local)<br></span></span></div><div><span tabindex="-1" id="result_box" class="" lang="en"><span class=""><br></span></span></div><span tabindex="-1" id="result_box" class="" lang="en"><span class="">NOW :<br></span></span></div><span tabindex="-1" id="result_box" class="" lang="en"><span class="">doing the reboot, only the first script is executed<br></span></span></div><span tabindex="-1" id="result_box" class="" lang="en"><span class="">NOT the second one<br><br></span></span></div><span tabindex="-1" id="result_box" class="" lang="en"><span class="">So I have the <u>copy</u> of the file (for test) <u>but not the backup.<br></u><br></span></span></div><span tabindex="-1" id="result_box" class="" lang="en"><span class=""><span tabindex="-1" id="result_box" class="" lang="en"><span class="">how it can be</span> <span class="">interpreted</span> <span class="">that fact</span> <span class="">?</span></span> <br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 8:17 AM, Joe Zeff <span dir="ltr">&lt;<a href="mailto:joe@zeff.us" target="_blank">joe@zeff.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/28/2014 11:08 PM, Angelo Moreschini wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
the file “sol”: (-rwxr-xr-x. 1 root root 62480 Mar 5 2014 /usr/bin/touch)<br>
<br>
<br>
is an executable (a card game that can run seamlessly from the command<br>
line).<br>
<br>
<br></span>
At the boot, the program “sol” has _*not been launched*_ yet.<br>
<br>
</blockquote>
<br>
The program is, as I understand, a GUI game written to run in the X Windowing environment, which doesn&#39;t start until after you log in.  How do you expect it to run at boot?<div class="HOEnZb"><div class="h5"><br>
-- <br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.<u></u>org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-<u></u>of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/<u></u>Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" target="_blank">http://ask.fedoraproject.org</a><br>
</div></div></blockquote></div><br></div>