Re: selecting some kind of files using the resync command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/25/14 20:04, Angelo Moreschini wrote:
> thank you Ed,
>
> --------
> /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. /
> ---------
>
> I create my |/etc/rc.d/rc.local|
> and I made it executable:
> [angelo_dev@zorro ~]$ ls /etc/rc.d/rc.local -l
> -rwxr-xr-x. 1 root root 1159 Oct 24 15:07 /etc/rc.d/rc.local
>
>
> But that doesn't work...
> l am not sure what can be the cause that it doesn't work... Only I can think about the owner of
> the file (who have to be the owner of this _local_ File ?...
>
> What I can try ?
>
>

The contents of your file are probably failing.... 

To prove that rc.local is being executed at boot, put *only* the following in the file.

#!/bin/sh
/usr/bin/touch /var/tmp/hello

And reboot.

One common reason for a failure is to not use full path names to executables.

-- 
If you can't laugh at yourself, others will gladly oblige.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux