diff options
Diffstat (limited to 'keys/auth.sh')
| -rwxr-xr-x | keys/auth.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/keys/auth.sh b/keys/auth.sh deleted file mode 100755 index 15313a0..0000000 --- a/keys/auth.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -_timeout=5 -_url="https://www.rygel.us/etc/keys/personal" -cache="/etc/ssh/keys" - -_temp="$(mktemp)" - -if curl \ - --connect-timeout $_timeout \ - "$_url" > "$_temp" 2>/dev/null -then - cat "$_temp" | tee $cache -else - cat $cache -fi - -rm "$_temp" |
