Setting up symlinks and permissions

Give these files the proper permissions and create the necessary symlinks by running the following commands. If you did not create the loadkeys script make sure you don't type it in the commands below.



cd /etc/init.d &&
chmod 754 rc rcS functions checkfs halt loadkeys mountfs reboot &&
chmod 754 sendsignals setclock sysklogd template umountfs &&
cd ../rc0.d &&
ln -s ../init.d/sysklogd K90sysklogd &&
ln -s ../init.d/sendsignals S80sendsignals &&
ln -s ../init.d/umountfs S90umountfs &&
ln -s ../init.d/halt S99halt &&
cd ../rc6.d &&
ln -s ../init.d/sysklogd K90sysklogd &&
ln -s ../init.d/sendsignals S80sendsignals &&
ln -s ../init.d/umountfs S90umountfs &&
ln -s ../init.d/reboot S99reboot &&
cd ../rcS.d &&
ln -s ../init.d/setclock S01setclock &&
ln -s ../init.d/checkfs S05checkfs &&
ln -s ../init.d/mountfs S10mountfs &&
ln -s ../init.d/loadkeys S20loadkeys &&
cd ../rc1.d &&
ln -s ../init.d/sysklogd K90sysklogd &&
cd ../rc2.d &&
ln -s ../init.d/sysklogd S03sysklogd &&
cd ../rc3.d &&
ln -s ../init.d/sysklogd S03sysklogd &&
cd ../rc4.d &&
ln -s ../init.d/sysklogd S03sysklogd &&
cd ../rc5.d &&
ln -s ../init.d/sysklogd S03sysklogd