LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   install.sh says rc.d (not there) (https://www.linuxquestions.org/questions/linux-general-1/install-sh-says-rc-d-not-there-514713/)

mervg 12-29-2006 04:49 PM

install.sh says rc.d (not there)
 
When running install.sh (for vpsd) it returns the following:

echo "installing vspm ..."
${INSTALL} -m 0755 ${exec_prefix}/bin/vspm.sh /etc/rc.d/init.d/vspm
echo "installing vspd ..."
${INSTALL} -m 0755 ${exec_prefix}/bin/vspd.sh /etc/rc.d/init.d/vspd
echo "setting runlevels for vspm ..."
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc3.d/S91vspm
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc4.d/S91vspm
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc5.d/S91vspm
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc0.d/K10vspm
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc1.d/K10vspm
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc2.d/K10vspm
ln -s -f /etc/rc.d/init.d/vspm /etc/rc.d/rc6.d/K10vspm
echo "setting runlevels for vspd ..."
ln -s -f /etc/rc.d/init.d/vspd /etc/rc.d/rc3.d/S92vspd
ln -s -f /etc/rc.d/init.d/vspd /etc/rc.d/rc4.d/S92vspd
ln -s -f /etc/rc.d/init.d/vspd /etc/rc.d/rc5.d/S92vspd
ln -s -f /etc/rc.d/init.d/vspd /etc/rc.d/rc0.d/K09vspd


There is no '/rc.d/init.d/' in /etc/, only the rc(0-5).d files. Anyone know the best solution? Is there a way to set up an rc.d to contain all the rc#.d files, or should I edit the "rc.d" out of install.h (dangerous?), or is there a way to set up a symlink for this?

:scratch: Merv

Tortanick 12-29-2006 04:58 PM

Mepis, decendent of debian. I guess we'll have similar /etc structures then :)

You might be able to pull this off by removing the rc.d from install.sh, I wouldn't trust me to make the call but with that in mind I think it would be safe modification.

What wouldn't be safe is running an installer desinged around another distro in Mepis. You have no idea what else it depends on that isn't there, or worse it may change a system setting from a perfectly fine value in (Red Hat?) to another value perfectly fine value in Red Hat, but a value that makes Mepis unbootable.

I'd speek to the providers of vpsd and ask about Mepis. Or the other way around.

P.S. check it didn't create /etc/rc.d/* it won't do any harm since the system isn't looking in that folder for anything but its clutter.

mervg 12-29-2006 06:08 PM

Quote:

Originally Posted by Tortanick
Mepis, decendent of debian. I guess we'll have similar /etc structures then :) .

What wouldn't be safe is running an installer desinged around another distro in Mepis.

Sorry, I didn't notice until after I posted - I am running with Ubuntu-Dapper, not Mepis. But your ideas are sound, thanks


All times are GMT -5. The time now is 04:25 AM.