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