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