interface of web-splash updated

This commit is contained in:
lars 2005-05-18 18:10:32 +00:00
parent 00cd6cbfc7
commit e5d878db27

View file

@ -32,6 +32,11 @@ case "$ACTION" in
[ $# -lt 2 ] && echo "[WEB_SPLASH] you have to specify an IP address" && exit 2
register_IP "$2"
;;
unregister )
[ $# -gt 2 ] && echo "[WEB_SPLASH] too many parameters: only one IP address is allowed" && exit 1
[ $# -lt 2 ] && echo "[WEB_SPLASH] you have to specify an IP address" && exit 2
unregister_IP "$2"
;;
update )
update_IP_list
;;
@ -45,7 +50,7 @@ case "$ACTION" in
fi
;;
* )
echo "Syntax: $0 {start|stop|restart}"
echo "Syntax: $0 {start|stop|restart|register|unregister|update|traffic}"
echo
;;
esac