Re: Making rc.local work on F20.

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

 



On 10/25/2014 10:24 PM, Kevin Cummings wrote:
On 10/25/2014 09:25 PM, Derrik Walker v2.0 wrote:
First thing I did was:

# cd/etc
# echo '$!/bin/bash' > /rc.d/rc.local
Warning, you should echo a line beginning with #!, not $!

Second, you should echo it to rc.d/rc.local (note the missing / at the
beginning of the path), otherwise you might be able to find it.

Also, don't do this is you already have data in /etc/rc.d/rc.local as
that line will replace the contents of the file with the one line.

The rest of Derrik's advice is spot on (any further typos not
withstanding) as it matches the working rc.local file on my F19 server.

Kevin is of course correct.  Sorry about the typos.

I guess I probably should have also added that I did that with a new install of the OS ( when I put my SSD in to be precise ), so /etc/rc.d/rc.local didn't yet exist.

--
-- Derrik

Derrik Walker v2.0, RHCE
dwalker@xxxxxxxxx

"Those UNIX guys, they think weird!" -- John C. Dvorak

--
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