Updated installinit.sh script for e-smith systems
This commit is contained in:
parent
ad7dbc2f96
commit
53f739639c
@ -4224,6 +4224,10 @@ v0.33.19 26-Oct-2001
|
|||||||
the new style (not setuid) of mbsebbs.
|
the new style (not setuid) of mbsebbs.
|
||||||
Remove /opt/mbse/etc/maint to let it replace with a new
|
Remove /opt/mbse/etc/maint to let it replace with a new
|
||||||
version, or change it by hand.
|
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
|
After compilation and installation run "mbfile check" to
|
||||||
update all file entries in the files database. This give a lot
|
update all file entries in the files database. This give a lot
|
||||||
of output in the logfile, don't worry about it.
|
of output in the logfile, don't worry about it.
|
||||||
@ -4267,6 +4271,8 @@ v0.33.19 26-Oct-2001
|
|||||||
|
|
||||||
installinit.sh:
|
installinit.sh:
|
||||||
Changed to recognize the e-smith server based on RedHat.
|
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:
|
libcommon.a:
|
||||||
When adding seenby entries, the zone number is copied from the
|
When adding seenby entries, the zone number is copied from the
|
||||||
|
@ -391,6 +391,7 @@ if [ "$DISTNAME" = "RedHat" ] || [ "$DISTNAME" = "Mandrake" ]; then
|
|||||||
#
|
#
|
||||||
if [ -f /etc/mandrake-release ]; then
|
if [ -f /etc/mandrake-release ]; then
|
||||||
RHR="`cat /etc/mandrake-release | awk '{ print $4 }' | tr -d .`"
|
RHR="`cat /etc/mandrake-release | awk '{ print $4 }' | tr -d .`"
|
||||||
|
RHN="Mandrake"
|
||||||
if [ $RHR -gt 60 ]; then
|
if [ $RHR -gt 60 ]; then
|
||||||
echo "You are running Mandrake v6.1 or newer"
|
echo "You are running Mandrake v6.1 or newer"
|
||||||
SU="su -"
|
SU="su -"
|
||||||
@ -513,6 +514,13 @@ EOF
|
|||||||
rm /etc/rc.d/rc5.d/S95mbsed
|
rm /etc/rc.d/rc5.d/S95mbsed
|
||||||
fi
|
fi
|
||||||
ln -s ../init.d/mbsed /etc/rc.d/rc5.d/S95mbsed
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user