Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 12ef2923

Přidáno uživatelem Ondřej Fibich před více než 10 roky(ů)

Release 0.9.6. Adds support for getting of version (fixes #640).

Zobrazit rozdíly:

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