From e97fa914ecde5a0275d6f79ba6553dc4edc9a076 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 22 May 2011 18:40:04 +0200 Subject: [PATCH] Added installation for Arch Linux --- script/init.Arch | 2 ++ script/installinit.sh | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/script/init.Arch b/script/init.Arch index bdd48d1c..c1bbbe8d 100644 --- a/script/init.Arch +++ b/script/init.Arch @@ -1,4 +1,6 @@ #!/bin/bash +# +# /etc/rc.d/mbsebbs for Arch Linux . /etc/rc.conf . /etc/rc.d/functions diff --git a/script/installinit.sh b/script/installinit.sh index 2756fc32..ca29c766 100644 --- a/script/installinit.sh +++ b/script/installinit.sh @@ -311,8 +311,10 @@ if [ "$DISTNAME" = "Arch Linux" ]; then echo "You are running Arch Linux" log "+" "Adding Arch Linux init script" DISTINIT="/etc/rc.d/mbsebbs" - - + cp init.Arch $DISTINIT + chmod 755 $DISTINIT + echo "Add mbsebbs to /etc/rc.conf" + log "+" "Arch Linux init script installed" fi