«
Předchozí
|
Další
»
Revize 24ae84a5
Přidáno uživatelem Ondřej Fibich před téměř 11 roky(ů)
- ID 24ae84a509b95de32efa0e1c04d7d6266d0ad4ef
- Rodič 1e9b7620
freenetis-ssh-keys-sync.sh | ||
---|---|---|
# Description: This script updates public SSH keys of admins of the device #
|
||
# given by his freenetIS ID. #
|
||
# #
|
||
# Version: 0.2.1 #
|
||
# Version: 0.2.2 #
|
||
# #
|
||
################################################################################
|
||
|
||
# Version
|
||
VERSION="0.2.2"
|
||
|
||
# Config file
|
||
CONFIG=/etc/freenetis/freenetis-ssh-keys.conf
|
||
|
||
# Vesion info? Only possible arg.
|
||
if [ $# -eq 1 ]; then
|
||
if [ "$1" == "version" ]; then
|
||
echo "$VERSION"
|
||
exit 0
|
||
fi
|
||
fi
|
||
|
||
# Load variables
|
||
if [ -e $CONFIG ]; then
|
||
. $CONFIG || true
|
Také k dispozici: Unified diff
Release 0.2.2. Adds support for getting of version (fixes #857).