Setting up symlinks and permissions

Give these files the proper permissions and create the necessary symlinks by running the following commands:



root:~# cd /etc/init.d
root:init.d# chmod 744 rc rcS reboot halt mountfs umountfs sendsignals
root:init.d# chmod 744 checkfs sysklogd loadkeys setclock
root:init.d# cd ../rc0.d
root:rc0.d# ln -s ../init.d/sysklogd K90sysklogd
root:rc0.d# ln -s ../init.d/sendsignals S80sendsignals
root:rc0.d# ln -s ../init.d/umountfs S90umountfs
root:rc0.d# ln -s ../init.d/halt S99halt
root:rc0.d# cd ../rc6.d
root:rc6.d# ln -s ../init.d/sysklogd K90sysklogd
root:rc6.d# ln -s ../init.d/sendsignals S80sendsignals
root:rc6.d# ln -s ../init.d/umountfs S90umountfs
root:rc6.d# ln -s ../init.d/reboot S99reboot
root:rc6.d# cd ../rcS.d
root:rcS.d# ln -s ../init.d/setclock S01setclosk
root:rcS.d# ln -s ../init.d/checkfs S05checkfs
root:rcS.d# ln -s ../init.d/mountfs S10mountfs
root:rcS.d# ln -s ../init.d/loadkeys S20loadkeys
root:rcS.d# cd ../rc1.d
root:rc1.d# ln -s ../init.d/sysklogd K90sysklogd
root:rc1.d# cd ../rc2.d
root:rc2.d# ln -s ../init.d/sysklogd S03sysklogd
root:rc2.d# cd ../rc3.d
root:rc3.d# ln -s ../init.d/sysklogd S03sysklogd
root:rc3.d# cd ../rc4.d
root:rc4.d# ln -s ../init.d/sysklogd S03sysklogd
root:rc4.d# cd ../rc5.d
root:rc5.d# ln -s ../init.d/sysklogd S03sysklogd