<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hey guys</div><div><br></div><div>Working out this VPN script and it won't run because of line 7 (highlighted in bold below). Seeing as my scripting knowledge is limited, I thought I might check with you!</div><div><br></div><div><pre class="bbcode_code" style="margin-top: 0px; margin-bottom: 0px; padding: 6px; font-family: 'Ubuntu Mono', monospace; line-height: 14px; word-wrap: normal; border: 1px inset; text-align: left; overflow: auto; direction: ltr; background-image: none; background-color: rgb(239, 239, 239); font-size: 14px; height: 156px; background-repeat: repeat no-repeat; ">#!/bin/sh
while [ "true" ]
do
    vpnck=$(nmcli con status uuid 3e46a1d0-ab02-4d69-bd36-31dfcc01af6d)
    if [[ $vpnck == *cryptocloud* ]]
    then
    <b>else</b>
      (sleep 1s && nmcli con up uuid 3e46a1d0-ab02-4d69-bd36-31dfcc01af6d)
    fi
    sleep 20
done</pre><div><br></div></div><br><div apple-content-edited="true">

Jean
<br>
<br>
<font color="#595050">
<strong>Jean van Wyngaardt</strong>
<br>
<br>
07599 428068
<br>
<a href="mailto:info@jeangabriel.co.uk">info@jeangabriel.co.uk</a>
<br>
<a href="http://runlevel.co.uk">http://runlevel.co.uk</a>
<br>
<a href="http://mactribe.co.uk">http://mactribe.co.uk</a>
</font>

</div>
<br></body></html>