Added installation for Arch Linux

This commit is contained in:
Michiel Broek 2011-05-22 18:40:04 +02:00
parent 8367cacff7
commit e97fa914ec
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
#
# /etc/rc.d/mbsebbs for Arch Linux
. /etc/rc.conf . /etc/rc.conf
. /etc/rc.d/functions . /etc/rc.d/functions

View File

@ -311,8 +311,10 @@ if [ "$DISTNAME" = "Arch Linux" ]; then
echo "You are running Arch Linux" echo "You are running Arch Linux"
log "+" "Adding Arch Linux init script" log "+" "Adding Arch Linux init script"
DISTINIT="/etc/rc.d/mbsebbs" 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 fi