summaryrefslogtreecommitdiff
path: root/update-openssh-known-hosts
diff options
context:
space:
mode:
Diffstat (limited to 'update-openssh-known-hosts')
-rwxr-xr-xupdate-openssh-known-hosts10
1 files changed, 5 insertions, 5 deletions
diff --git a/update-openssh-known-hosts b/update-openssh-known-hosts
index d9ef613..be7e9d7 100755
--- a/update-openssh-known-hosts
+++ b/update-openssh-known-hosts
@@ -2,11 +2,11 @@
set -euC
-CONFDIR=/etc/openssh-known-hosts
-PLUGIN_PATH=/usr/local/share/openssh-known-hosts/plugins:/usr/share/openssh-known-hosts/plugins
-CACHEDIR=/var/cache/openssh-known-hosts
-LOCK=/var/lock/openssh-known-hosts
-OUTFILE=/var/lib/openssh-known-hosts/ssh_known_hosts
+CONFDIR=${CONFDIR:-/etc/openssh-known-hosts}
+PLUGIN_PATH=${PLUGIN_PATH:-/usr/local/share/openssh-known-hosts/plugins:/usr/share/openssh-known-hosts/plugins}
+CACHEDIR=${CACHEDIR:-/var/cache/openssh-known-hosts}
+LOCK=${LOCK:-/var/lock/openssh-known-hosts}
+OUTFILE=${OUTFILE:-/var/lib/openssh-known-hosts/ssh_known_hosts}
path_search () {
search="$1"