diff --git a/ChangeLog b/ChangeLog index 472d0d2e..93798bf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/script/installinit.sh b/script/installinit.sh index 750c8aaa..551aeb57 100644 --- a/script/installinit.sh +++ b/script/installinit.sh @@ -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