Updated installinit.sh script for e-smith systems

This commit is contained in:
Michiel Broek 2002-01-21 20:16:57 +00:00
parent ad7dbc2f96
commit 53f739639c
2 changed files with 14 additions and 0 deletions

View File

@ -4224,6 +4224,10 @@ v0.33.19 26-Oct-2001
the new style (not setuid) of mbsebbs.
Remove /opt/mbse/etc/maint to let it replace with a new
version, or change it by hand.
On RedHat, Mandrake or e-smith systems remove the excisting
start and stop commands with the runlevel editor, they will
be installed with other values when the system is installed.
If you forget this then mbsebbs will start and stop twice.
After compilation and installation run "mbfile check" to
update all file entries in the files database. This give a lot
of output in the logfile, don't worry about it.
@ -4267,6 +4271,8 @@ v0.33.19 26-Oct-2001
installinit.sh:
Changed to recognize the e-smith server based on RedHat.
On RedHat, Mandrake and e-smith systems the symlinks to start
and stop the bbs are now added.
libcommon.a:
When adding seenby entries, the zone number is copied from the

View File

@ -391,6 +391,7 @@ if [ "$DISTNAME" = "RedHat" ] || [ "$DISTNAME" = "Mandrake" ]; then
#
if [ -f /etc/mandrake-release ]; then
RHR="`cat /etc/mandrake-release | awk '{ print $4 }' | tr -d .`"
RHN="Mandrake"
if [ $RHR -gt 60 ]; then
echo "You are running Mandrake v6.1 or newer"
SU="su -"
@ -513,6 +514,13 @@ EOF
rm /etc/rc.d/rc5.d/S95mbsed
fi
ln -s ../init.d/mbsed /etc/rc.d/rc5.d/S95mbsed
if [ "$RHN" = "e-smith based on RedHat" ]; then
echo "Making link for start in runlevel 7"
if [ -f /etc/rc.d/rc7.d/S95mbsed ]; then
rm /etc/rc.d/rc7.d/S95mbsed
fi
ln -s ../init.d/mbsed /etc/rc.d/rc7.d/S95mbsed
fi
fi