installinit.sh now knows about Slamd64

This commit is contained in:
Michiel Broek 2008-11-18 21:03:08 +00:00
parent 25cbf1981c
commit 6e4249d51a
2 changed files with 8 additions and 1 deletions

View File

@ -8,6 +8,9 @@ v0.95.4 31-Aug-2008
mbfido: mbfido:
A cosmetic change to add an extra newline before the tearline. A cosmetic change to add an extra newline before the tearline.
script:
installinit.sh now knows about Slamd64.
v0.95.3 12-Mar-2008 - 31-Aug-2008. v0.95.3 12-Mar-2008 - 31-Aug-2008.

View File

@ -52,6 +52,10 @@ if [ "$OSTYPE" = "Linux" ]; then
# Slackware 7.0 and later # Slackware 7.0 and later
DISTNAME="Slackware" DISTNAME="Slackware"
DISTVERS=`cat /etc/slackware-version` DISTVERS=`cat /etc/slackware-version`
elif [ -f /etc/slamd64-version ]; then
# Slamd64
DISTNAME="Slamd64"
DISTVERS=`cat /etc/slamd64-version`
elif [ -f /etc/zenwalk-version ]; then elif [ -f /etc/zenwalk-version ]; then
DISTNAME="Zenwalk" DISTNAME="Zenwalk"
DISTVERS=`cat /etc/zenwalk-version` DISTVERS=`cat /etc/zenwalk-version`
@ -162,7 +166,7 @@ fi
# #
# Adding scripts for Slackware # Adding scripts for Slackware
# #
if [ "$DISTNAME" = "Slackware" ]; then if [ "$DISTNAME" = "Slackware" ] || [ "$DISTNAME" = "Slamd64" ]; then
mkdir -p /etc/rc.d/init.d mkdir -p /etc/rc.d/init.d
DISTINIT="/etc/rc.d/init.d/mbsed" DISTINIT="/etc/rc.d/init.d/mbsed"
echo "Adding SystemV Slackware $DISTVERS MBSE BBS start/stop scripts" echo "Adding SystemV Slackware $DISTVERS MBSE BBS start/stop scripts"