This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#!/bin/sh
|
|
|
|
: "${KNOWN_HOSTS_URL=https://files.pyrocufflink.blue/ssh_known_hosts}"
|
|
|
|
curl -fsSL -o /run/ssh_known_hosts "${KNOWN_HOSTS_URL}" || exit $?
|
|
if ! mountpoint -q /etc/ssh/ssh_known_hosts; then
|
|
mount -o bind /run/ssh_known_hosts /etc/ssh/ssh_known_hosts
|
|
fi
|