aboutsummaryrefslogtreecommitdiff
path: root/tools/etc/icpc
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2015-09-11 14:42:05 +0000
committercassiopc <cassiopc@gmail.com>2015-09-11 14:42:05 +0000
commit5702d8cdcaf4784545a893657edf5e5429bc0cc8 (patch)
tree453ab55ecbd79547f121ae6a2d9657d696a1cdf7 /tools/etc/icpc
parentf9f21ae94bbdcc63907e46271cd87b7a588e1baf (diff)
parent40ed6646e902830881fe2c530ce110d73f5a5a0b (diff)
downloadboca-5702d8cdcaf4784545a893657edf5e5429bc0cc8.tar.gz
boca-5702d8cdcaf4784545a893657edf5e5429bc0cc8.zip
Merge branch 'master' of github.com:cassiopc/boca
Diffstat (limited to 'tools/etc/icpc')
-rwxr-xr-xtools/etc/icpc/installboca.sh1
-rwxr-xr-xtools/etc/icpc/setup.sh4
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/etc/icpc/installboca.sh b/tools/etc/icpc/installboca.sh
index 88c266f..d796c04 100755
--- a/tools/etc/icpc/installboca.sh
+++ b/tools/etc/icpc/installboca.sh
@@ -217,6 +217,7 @@ echo "=================================================="
echo "=================== SERVER SETUP ==============="
echo "=================================================="
ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini 2>/dev/null
+ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini 2>/dev/null
OK=n
echo "You can run at anytime later the script /etc/icpc/becomeserver.sh to prepare the computer to be the BOCA server"
diff --git a/tools/etc/icpc/setup.sh b/tools/etc/icpc/setup.sh
index 5d8838f..62563e1 100755
--- a/tools/etc/icpc/setup.sh
+++ b/tools/etc/icpc/setup.sh
@@ -4,7 +4,7 @@ if [ ! -x /etc/icpc/bocaserver.sh ]; then
OK=1
while [ "$OK" != "0" ]; do
IP=`zenity --title="Setting up the BOCA server IP number" --text="Enter the IP address of the server (format x.y.w.z)\n\
-If this is supposed to be the server, then leave it empty\nIf there are multiple servers, separate IPs by a semi-colon ;" --width=500 --height=100 --entry`
+If this is supposed to be the server, then leave it empty\nIf there are multiple servers, separate IPs by a semi-colon ;" --entry`
[ "$IP" == "" ] && IP=LOCAL
zenity --title="IP confirmation" --text="The chosen IP is $IP\nDo you confirm?" --question
OK=$?
@@ -94,3 +94,5 @@ fi
if [ -x /etc/network/if-pre-up.d/boca ]; then
. /etc/network/if-pre-up.d/boca
fi
+
+exit 0