<div dir="ltr"><div><div><div><div><div><div>Hi ,<br><br></div>I tried the script with :<br>----------------------<br>
#!/bin/sh<br>
/usr/bin/touch /var/tmp/hello<br>----------------------<br><br></div>I made the shutdown and opened the computer more than one time and, ONLY the<br></div>FIRST TIME, I got <span tabindex="-1" id="result_box" class="" lang="en"><span class="">a strange phenomenon</span><span>:</span> <br><br><span class="">stripes on the screen</span> <span class="">and</span> <span class="">instability</span> <span class="">&#39;</span><span>of the</span> <span class="">graphic interface</span> <span class="">of</span> <span class="">Gnome</span><span>.</span></span><br><br></div>After that happened this I tried to call the second script (the script with the backup) rebooting the computer, but nothing happened.<br><br></div>I made still other tests (using both of the scripts) but nothing still happened...<br></div><br><div>Thank you<br><br></div><div>Regards<br><br></div><div>Angelo<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 25, 2014 at 5:05 PM, Joachim Backes <span dir="ltr">&lt;<a href="mailto:joachim.backes@rhrk.uni-kl.de" target="_blank">joachim.backes@rhrk.uni-kl.de</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/25/2014 02:48 PM, Ed Greshko wrote:<br>
&gt; On 10/25/14 20:04, Angelo Moreschini wrote:<br>
&gt;&gt; thank you Ed,<br>
&gt;&gt;<br>
&gt;&gt; --------<br>
&gt;&gt; /The |/etc/rc.d/rc.local| local customization script is no longer included by default. Administrators who need this functionality merely have to create this file, make it executable, and it will run on boot. /<br>
&gt;&gt; ---------<br>
&gt;&gt;<br>
&gt;&gt; I create my |/etc/rc.d/rc.local|<br>
&gt;&gt; and I made it executable:<br>
&gt;&gt; [angelo_dev@zorro ~]$ ls /etc/rc.d/rc.local -l<br>
&gt;&gt; -rwxr-xr-x. 1 root root 1159 Oct 24 15:07 /etc/rc.d/rc.local<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; But that doesn&#39;t work...<br>
&gt;&gt; l am not sure what can be the cause that it doesn&#39;t work... Only I can think about the owner of<br>
&gt;&gt; the file (who have to be the owner of this _local_ File ?...<br>
&gt;&gt;<br>
&gt;&gt; What I can try ?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; The contents of your file are probably failing....<br>
&gt;<br>
&gt; To prove that rc.local is being executed at boot, put *only* the following in the file.<br>
&gt;<br>
&gt; #!/bin/sh<br>
&gt; /usr/bin/touch /var/tmp/hello<br>
&gt;<br>
&gt; And reboot.<br>
&gt;<br>
&gt; One common reason for a failure is to not use full path names to executables.<br>
&gt;<br>
<br>
</span>From my knowledge, it&#39;s very important (and as you, Ed, mentionend<br>
already implicitely), to add &quot;#!/bin/sh&quot; as first line of /etc/rc.d/r.local.<br>
<br>
Kind regards<br>
<span class=""><br>
Joachim Backes<br>
<br>
<br>
--<br>
<br>
Fedora release 21 (Twenty One)<br>
</span>Kernel-3.17.1-304.fc21.x86_64<br>
<span class="im HOEnZb"><br>
<br>
Joachim Backes &lt;<a href="mailto:joachim.backes@rhrk.uni-kl.de">joachim.backes@rhrk.uni-kl.de</a>&gt;<br>
<a href="https://www-user.rhrk.uni-kl.de/~backes" target="_blank">https://www-user.rhrk.uni-kl.de/~backes</a><br>
</span><div class="HOEnZb"><div class="h5">--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">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.org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/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>