summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-07-11 13:51:41 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-07-11 13:51:41 -0700
commitafd2c8f3d1f254c087ba25fbe32544951843a51d (patch)
treeb2c552bb2b2eaca36886630c6df594fa312b83f8 /install.sh
parentc2aaad8cc19f382e137d6a38485fdf20b47260c4 (diff)
downloadkeys-afd2c8f3d1f254c087ba25fbe32544951843a51d.tar.gz
keys-afd2c8f3d1f254c087ba25fbe32544951843a51d.zip
Run once on install
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index a4a3f06..caf9c44 100755
--- a/install.sh
+++ b/install.sh
@@ -10,3 +10,5 @@ MIN=$(( 0x$(hostname | md5sum | cut -c1-15) % 30 ))
JOB="*/$MIN * * * * $HOME/.local/bin/refresh_keys.sh"
( crontab -l 2>/dev/null | grep -vF 'refresh_keys.sh'; echo "$JOB" ) | crontab -
+mkdir -p "$HOME/.ssh"
+$HOME/.local/bin/refresh_keys.sh