interface of web-splash updated
This commit is contained in:
parent
00cd6cbfc7
commit
e5d878db27
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue