<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="">'</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"><<a href="mailto:joachim.backes@rhrk.uni-kl.de" target="_blank">joachim.backes@rhrk.uni-kl.de</a>></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>
> On 10/25/14 20:04, Angelo Moreschini wrote:<br>
>> thank you Ed,<br>
>><br>
>> --------<br>
>> /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>
>> ---------<br>
>><br>
>> I create my |/etc/rc.d/rc.local|<br>
>> and I made it executable:<br>
>> [angelo_dev@zorro ~]$ ls /etc/rc.d/rc.local -l<br>
>> -rwxr-xr-x. 1 root root 1159 Oct 24 15:07 /etc/rc.d/rc.local<br>
>><br>
>><br>
>> But that doesn't work...<br>
>> l am not sure what can be the cause that it doesn't work... Only I can think about the owner of<br>
>> the file (who have to be the owner of this _local_ File ?...<br>
>><br>
>> What I can try ?<br>
>><br>
>><br>
><br>
> The contents of your file are probably failing....<br>
><br>
> To prove that rc.local is being executed at boot, put *only* the following in the file.<br>
><br>
> #!/bin/sh<br>
> /usr/bin/touch /var/tmp/hello<br>
><br>
> And reboot.<br>
><br>
> One common reason for a failure is to not use full path names to executables.<br>
><br>
<br>
</span>From my knowledge, it's very important (and as you, Ed, mentionend<br>
already implicitely), to add "#!/bin/sh" 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 <<a href="mailto:joachim.backes@rhrk.uni-kl.de">joachim.backes@rhrk.uni-kl.de</a>><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>