Making rc.local work on F20.

Kevin Cummings cummings at kjchome.homeip.net
Sun Oct 26 02:24:58 UTC 2014


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 J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)


More information about the users mailing list