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 755 rcS reboot halt mountfs umountfs
root:init.d# chmod 755 sendsignals checkroot sysklogd
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 S01setclock
root:rcS.d# ln -s ../init.d/checkroot S05checkroot
root:rcS.d# ln -s ../init.d/mountfs S10mountfs
root:rcS.d# cd /etc/rc2.d
root:rc2.d# ln -s ../init.d/sysklogd S03sysklogd