From: Hans-Ulrich J. <han...@t-...> - 2008-06-23 19:46:47
|
Hi Mohammed, Mohammed Cyclegar wrote: > I still dont see the startup files in /etc/init.d. > > Please advise > the installation script first checked whether there is a directory /etc/init.d/boot.d in that case it would have tried to install the start script with help of the executable /sbin/insserv as /etc/init.d/boot.scramdisk. But I think this isn't the case for all Redhat type distributions. The second attempt of the installation script was to test whether there is a directory /etc/rcS.d and to install the start script with help of /usr/sbin/update-rc.d I just checked my CentOS 5 and there is no /etc/rcS.d either. So this is probably the reason that installation of the start script failed. In the packaging script for fedora distributions (scramdisk-fc.spec) I'll do the following which I would advise you to try in your case by hand (as user root). First copy from the utils subdirectory of the sources the file scramdisk.init with the new name scramdisk to the directory /etc/rc.d/init.d i.e. in the sources directory do cp utils/scramdisk.init /etc/rc.d/init.d/scramdisk Then, change to /etc/rc.d/rc5.d: cd /etc/rc.d/rc5.d and create two soft links by the commands ln -s ../init.d/scramdisk S80scramdisk ln -s ../init.d/scramdisk K04scramdisk (with capital S and capital K). That should suffice in order that your systems calls the scramdisk start script with parameter start whenever it enters runlevel 5 and with parameter stop whenever it leaves runlevel 5. Best regards Ulrich |