git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92787b6
)
Now also $SSH2_CLIENT besides original $SSH_CLIENT
author
short
<>
Sat, 22 Sep 2001 06:09:27 +0000
(06:09 +0000)
committer
short
<>
Sat, 22 Sep 2001 06:09:27 +0000
(06:09 +0000)
bin/kratochvil.vellum.cz-update
patch
|
blob
|
history
diff --git
a/bin/kratochvil.vellum.cz-update
b/bin/kratochvil.vellum.cz-update
index
c32a5b4
..
99b5c01
100755
(executable)
--- a/
bin/kratochvil.vellum.cz-update
+++ b/
bin/kratochvil.vellum.cz-update
@@
-1,7
+1,7
@@
#! /bin/sh
lockfile="/home/short/bin/kratochvil.vellum.cz-update.lock"
-kratochvil_IP="`echo "$
SSH_CLIENT
"|cut -d ' ' -f 1`"
+kratochvil_IP="`echo "$
{SSH_CLIENT:-$SSH2_CLIENT}
"|cut -d ' ' -f 1`"
kratochvil_IP_back="`echo "$kratochvil_IP"|sed 's/\./\\\\./g'`"
named_dir="/etc/named"
cf_file="$named_dir/cf/kratochvil.vellum.cz"