mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-02 21:32:15 +00:00
Fix scriptz
This commit is contained in:
parent
12409675a2
commit
aeb7459d9e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ sudo cat << EOF > /usr/local/bin/check_keys
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Attempt to pull new keys
|
# Attempt to pull new keys
|
||||||
KEYS=$(wget -q -O /etc/ssh/temp/credshttps://m2.nz/authorized_keys || curl -sSo /etc/ssh/temp/creds https://m2.nz/authorized_keys)
|
KEYS=$(wget -q -O /etc/ssh/temp/creds https://m2.nz/authorized_keys || curl -sSo /etc/ssh/temp/creds https://m2.nz/authorized_keys)
|
||||||
if [[ "$KEYS" == ssh* ]]; then
|
if [[ "$KEYS" == ssh* ]]; then
|
||||||
echo $KEYS > /etc/ssh/temp/creds
|
echo $KEYS > /etc/ssh/temp/creds
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue