diff options
| author | cassio <cassiopc@gmail.com> | 2015-09-07 07:19:47 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2015-09-07 07:19:47 +0000 |
| commit | 3443e44388376b2632daaa056a5d826506ccf208 (patch) | |
| tree | 5e9e7c2a9f2279469e17661d8b0896bf7e439772 /tools/etc | |
| parent | 847759fde4a54472e126cd174f6b0cd8a178a203 (diff) | |
| download | boca-3443e44388376b2632daaa056a5d826506ccf208.tar.gz boca-3443e44388376b2632daaa056a5d826506ccf208.zip | |
zenity and lightdm issues
Diffstat (limited to 'tools/etc')
| -rwxr-xr-x | tools/etc/icpc/setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |