projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignoring mac's .DS_Store items now.
[feisty_meow.git]
/
scripts
/
security
/
tell_zooty_our_ip.sh
diff --git
a/scripts/security/tell_zooty_our_ip.sh
b/scripts/security/tell_zooty_our_ip.sh
index 9c5b02a1fe1daddb5fac60d059a079a09a101f41..359050b419edf1c85187b3796f89850fd4a5c70b 100644
(file)
--- a/
scripts/security/tell_zooty_our_ip.sh
+++ b/
scripts/security/tell_zooty_our_ip.sh
@@
-5,7
+5,7
@@
#hmmm: none of the user info below will work for others: parameterize it.
#hmmm: none of the user info below will work for others: parameterize it.
-server=
zooty.koeritz.com
+server=
serene.feistymeow.org
username=fred
local_user=fred
tempdir=/tmp # where we generate our files.
username=fred
local_user=fred
tempdir=/tmp # where we generate our files.
@@
-17,7
+17,7
@@
if [ ! -z "$1" ]; then
soundfile=$1
fi
soundfile=$1
fi
-ip_file="$(mktemp ${tempdir}/
$(hostname | sed -e "s/\..*$//")_ip.XXXXXX)_${USER}
"
+ip_file="$(mktemp ${tempdir}/
ip_${USER}_$(hostname | sed -e "s/\..*$//").XXXXXX)
"
# get live ip address
pushd $tempdir
# get live ip address
pushd $tempdir
@@
-38,5
+38,7
@@
cd gen
put $ip_file $(hostname | sed -e "s/\..*$//")_ip.txt
eof
put $ip_file $(hostname | sed -e "s/\..*$//")_ip.txt
eof
+\rm -f "$ip_file"
+
popd
popd