test -x $tripe -a -x $tripectl || exit 0
-case `$tripe --tunnel` in
+case ${tunnel-`$tripe --tunnels | head -1`} in
linux)
case `uname -s` in
Linux)
${user+-S-u}${user} \
${group+-S-g}${group} \
${trace+-S-T}${trace} \
+ ${tunnel+-S-n}${tunnel} \
${miscopts}
for i in 1 2 3 4 give-up; do
$tripectl help >/dev/null 2>/dev/null && break