From 61ef51f004b2840acf39eee1a214fa514d674e97 Mon Sep 17 00:00:00 2001 From: Cory Gillenkirk Date: Thu, 16 Mar 2017 20:49:12 -0400 Subject: [PATCH] Update auto-install-multicraft.sh --- auto-install-multicraft.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/auto-install-multicraft.sh b/auto-install-multicraft.sh index 51adc2e..dc0eac9 100644 --- a/auto-install-multicraft.sh +++ b/auto-install-multicraft.sh @@ -344,9 +344,13 @@ mysql -p${Daemon} -u daemon -D daemon -e "INSERT INTO setting VALUES ('minecraft mv /etc/rc.local /etc/rc.local-old cd /etc/ cat > rc.local << eof +#!/bin/sh -e + /home/root/multicraft/bin/multicraft start /sbin/iptables -F /sbin/iptables -X + +exit 0 eof chmod +x /etc/rc.local /etc/rc.local