chiark / gitweb /
Don't build ethereal plugin if no ethereal headers found.
[tripe] / tripe-init.in
index 82ada434fedee70eed4da0e475afe1fae3335e07..b4c5e6d7336a10d35b857f96e887cb85155fce5e 100755 (executable)
@@ -29,7 +29,7 @@ fi
 
 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)
@@ -125,6 +125,7 @@ case "$1" in
       ${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