Guido Schmidt wrote:
> 
>>>   
>> I'd try giving an explicit exit value upon successful tunnel creation.
>>
>> ...
>> --- /usr/local/bin/sshtunnelcontrol.orig        2009-12-22 
>> 03:16:34.000000000 -0900
>> +++ /usr/local/bin/sshtunnelcontrol     2009-12-22 03:17:09.000000000 -0900
>> @@ -27,6 +27,9 @@
>>        if ! ps -ef|grep -E "^backuppc $PID" ; then
>>          echo "$PRG_NAME: Error: Tunnel does not exist"
>>          exit 1
>> +      else
>> +        echo "$PRG_NAME: Info: Tunnel exists"
>> +        exit 0
>>        fi
>>      else
>>        echo "$PRG_NAME: Error: ${PIDFILE} already exists."
> 
> Although the script should already return 0 upon successfull completion
> (and it does, I tried with echo &?) I'm so desperate I gave it a try,
> but no, that didn't help.
> 
> So, what could cause BackupPC not to connect to the tunnel?
> 

I may have missed something in the thread, but did you change the ping command 
to something that would succeed?

-- 
   Les Mikesell
    [email protected]

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to