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:

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