Revize 12ef2923
Přidáno uživatelem Ondřej Fibich před téměř 11 roky(ů)
freenetis-monitord.sh | ||
---|---|---|
# email kliment@freenetis.org #
|
||
# #
|
||
# name freenetis-monitord.sh #
|
||
# version 0.9.3 #
|
||
# version 0.9.6 #
|
||
# #
|
||
################################################################################
|
||
|
||
# Version
|
||
VERSION="0.9.6"
|
||
|
||
#Load variables from config file
|
||
CONFIG=/etc/freenetis/freenetis-monitoring.conf
|
||
|
||
... | ... | |
echo -n "$IP"
|
||
}
|
||
|
||
# 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
|
Také k dispozici: Unified diff
Release 0.9.6. Adds support for getting of version (fixes #640).