[Solved]Fedora 16 /etc/rc.local is missing

Finally, I got a chance to try the new Fedora 16. The overall experience is pretty good, except that it comes with some troublesomes. I guess it is a bonus feature to test your troubleshooting skills. No problem, those are piece of cake to me. After trying for about 15 mins, I found two minor computer problem so far: Missing rc.local and ntpdate.

How to fix Missing rc.local

By default, rc.local is missing in Fedora 16. To create it, simply do the following:

sudo nano /etc/rc.d/rc.local

and include your start-up script in the file, e.g.,

#!/bin/sh
/opt/lampp/lampp startapache

Next, we need to change the ownership:

sudo chmod a+x /etc/rc.d/rc.local

and create a symbolic link:

sudo ln -s /etc/rc.d/rc.local /etc

Now, try to reboot your computer. The script should start at the boot.

Missing ntpdate

Typically I manually synchronize the computer time with a reference server, e.g.,

sudo ntpdate time.nist.gov

However, I guess Fedora team wants to move to NTP service, so they decide to take the ntpdate command away. All you need to do is to install it back, i.e.,

sudo yum install ntpdate -y

Enjoy the new Fedora 16.

–Derrick

Our sponsors:

5 Replies to “[Solved]Fedora 16 /etc/rc.local is missing”

  1. Pingback: 解决/etc/rc.local在fedora 16中的缺失 | A Nerd or A Geek

  2. Pingback: Fedora 16 rc.local and virtualbox – - Overthinking ItOverthinking It

  3. Pingback: thanks for the help

  4. Pingback: Thinkpad E320 and Fedora 17 | Mafio

Leave a Reply

Your email address will not be published. Required fields are marked *