]> andersk Git - gssapi-openssh.git/commitdiff
o Update wrapper scripts to check for GLOBUS_LOCATION and to exec their
authorcphillip <cphillip>
Wed, 10 Apr 2002 18:06:40 +0000 (18:06 +0000)
committercphillip <cphillip>
Wed, 10 Apr 2002 18:06:40 +0000 (18:06 +0000)
      real counterparts, instead of just forking them off.  This should
      help scripts who call, eg. sshd, and want to know the true pid.

openssh/scp.wrapper
openssh/sftp.wrapper
openssh/sshd.wrapper

index 291be9628f128761b7e0d18cc8949df4d0ea88cb..fca65cf03220df1439a2ac018ead776247919deb 100644 (file)
@@ -3,6 +3,11 @@
 # Wrapper script to ensure that the correct files are used.
 #
 
+if [ "x$GLOBUS_LOCATION" = "x" ]; then
+  echo "Set GLOBUS_LOCATION before running this script"
+  exit 1
+fi
+
 # $GLOBUS_LOCATION/bin/scp.real -S $GLOBUS_LOCATION/bin/ssh -F /etc/ssh/ssh_config $*
 
-$GLOBUS_LOCATION/bin/scp.real -S $GLOBUS_LOCATION/bin/ssh $*
+exec $GLOBUS_LOCATION/bin/scp.real -S $GLOBUS_LOCATION/bin/ssh $*
index 8fed5bc2e60d9fa5df2169add83847e7cbea56b7..332ecf70af5b5b08665e5dfc278614e27743404f 100644 (file)
@@ -3,6 +3,11 @@
 # Wrapper script to ensure that the correct files are used.
 #
 
+if [ "x$GLOBUS_LOCATION" = "x" ]; then
+  echo "Set GLOBUS_LOCATION before running this script"
+  exit 1
+fi
+
 # $GLOBUS_LOCATION/bin/sftp.real -S $GLOBUS_LOCATION/bin/ssh -F /etc/ssh/ssh_config $*
 
-$GLOBUS_LOCATION/bin/sftp.real -S $GLOBUS_LOCATION/bin/ssh $*
+exec $GLOBUS_LOCATION/bin/sftp.real -S $GLOBUS_LOCATION/bin/ssh $*
index 99226eac7e703981529fe4c4b45924706dabb5ce..df471a25ccc098bdf98f5bc6e62f6489038d0ce9 100644 (file)
@@ -7,6 +7,11 @@
 # line and comment out the second line.
 #
 
+if [ "x$GLOBUS_LOCATION" = "x" ]; then
+  echo "Set GLOBUS_LOCATION before running this script"
+  exit 1
+fi
+
 # $GLOBUS_LOCATION/sbin/sshd.real -f /etc/ssh/sshd_config $*
 
-$GLOBUS_LOCATION/sbin/sshd.real $*
+exec $GLOBUS_LOCATION/sbin/sshd.real $*
This page took 0.041965 seconds and 5 git commands to generate.