Skip to content

Commit

Permalink
Update auto-install-multicraft.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOneMoreBlock authored Mar 17, 2017
1 parent e008669 commit 61ef51f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions auto-install-multicraft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61ef51f

Please sign in to comment.