From 6e4249d51a73414ba3487c57fb40f61983572d55 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 18 Nov 2008 21:03:08 +0000 Subject: [PATCH] installinit.sh now knows about Slamd64 --- ChangeLog | 3 +++ script/installinit.sh | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5ba30815..4ced82f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ v0.95.4 31-Aug-2008 mbfido: 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. diff --git a/script/installinit.sh b/script/installinit.sh index ae200f59..e8825354 100644 --- a/script/installinit.sh +++ b/script/installinit.sh @@ -52,6 +52,10 @@ if [ "$OSTYPE" = "Linux" ]; then # Slackware 7.0 and later DISTNAME="Slackware" 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 DISTNAME="Zenwalk" DISTVERS=`cat /etc/zenwalk-version` @@ -162,7 +166,7 @@ fi # # Adding scripts for Slackware # -if [ "$DISTNAME" = "Slackware" ]; then +if [ "$DISTNAME" = "Slackware" ] || [ "$DISTNAME" = "Slamd64" ]; then mkdir -p /etc/rc.d/init.d DISTINIT="/etc/rc.d/init.d/mbsed" echo "Adding SystemV Slackware $DISTVERS MBSE BBS start/stop scripts"