Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1271654c

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

Release 0.9.4. Adds support for getting of version (fixes #641).

Zobrazit rozdíly:

deb/changelog
freenetis-qos (0.9.4) stable; urgency=low
* Improoves DEB package condition
* Adds support for version displaying
-- Ondrej Fibich <ondrej.fibich@gmail.com> Thu, 16 Jan 2014 20:30:45 +0100
freenetis-qos (0.9.3) stable; urgency=low
* Improved building of ipset on squeeze (#454)
-- Ondrej Fibich <ondrej.fibich@gmail.com> Wed, 23 Jan 2013 14:24:32 +0100
freenetis-qos-sync.sh
# Email kliment@freenetis.org #
# #
# name freenetis-qos-sync.sh #
# version 0.9.0 #
# version 0.9.4 #
# #
################################################################################
# Version
VERSION="0.9.4"
#Load variables from config file
CONFIG=/etc/freenetis/freenetis-qos.conf
......
start
}
version ()
{
echo "$VERSION"
}
case "$1" in
update)
while (true);
......
stop)
stop
;;
esac
version)
version
;;
esac
freenetis-qos.conf
# Email kliment@freenetis.org #
# #
# name freenetis-qos.conf #
# version 0.9.0 #
# #
################################################################################
freenetis-qos.init.sh
# Email kliment@freenetis.org #
# #
# Name freenetis-qos.init.sh #
# Version 0.9.0 #
# #
################################################################################
......
fi
}
version_qos ()
{
VERSION=`"$QOS_SYNCFILE" version 2>/dev/null`
echo $VERSION
}
usage_qos ()
{
echo "usage : `echo $0` (start|stop|restart|status|help)"
echo "usage : `echo $0` (start|stop|restart|status|version|help)"
}
help_qos ()
......
echo " stop - clears firewall rules and settings for QoS"
echo " restart - restarts firewall rules and settings for QoS"
echo " status - returns actual status of QoS"
echo " version - prints version"
echo " help - prints help for QoS"
}
......
status_qos
exit 0
;;
version)
version_qos
exit 0
;;
help)
usage_qos

Také k dispozici: Unified diff