|
@@ -21,8 +21,8 @@ def parser():
|
|
|
p_server.set_defaults(func=com_server)
|
|
p_server.set_defaults(func=com_server)
|
|
|
p_server.add_argument("-b", "--bind", default="")
|
|
p_server.add_argument("-b", "--bind", default="")
|
|
|
p_server.add_argument("-c", "--certfile", default="./server.pem")
|
|
p_server.add_argument("-c", "--certfile", default="./server.pem")
|
|
|
- p_server.add_argument("-p", "--port", type=int, default=80)
|
|
|
|
|
- p_server.add_argument("-s", "--ssl_port", type=int, default=443)
|
|
|
|
|
|
|
+ p_server.add_argument("-p", "--port", type=int, default=4583)
|
|
|
|
|
+ p_server.add_argument("-s", "--ssl_port", type=int, default=0)
|
|
|
p_server.add_argument("-n", "--portal_name", default="portal.raspi.tsimnet.eu")
|
|
p_server.add_argument("-n", "--portal_name", default="portal.raspi.tsimnet.eu")
|
|
|
|
|
|
|
|
p_unpack = sub.add_parser("unpack")
|
|
p_unpack = sub.add_parser("unpack")
|
|
@@ -37,7 +37,7 @@ def parser():
|
|
|
p_install.set_defaults(func=com_install)
|
|
p_install.set_defaults(func=com_install)
|
|
|
p_install.add_argument("-i", "--install_dir", default="/opt/eu.tsimnet.git/dasimmet/bootstrap_captive")
|
|
p_install.add_argument("-i", "--install_dir", default="/opt/eu.tsimnet.git/dasimmet/bootstrap_captive")
|
|
|
|
|
|
|
|
- p_update = sub.add_parser("install")
|
|
|
|
|
|
|
+ p_update = sub.add_parser("update")
|
|
|
p_update.set_defaults(func=com_update)
|
|
p_update.set_defaults(func=com_update)
|
|
|
p_update.add_argument("-i", "--install_dir", default="/opt/eu.tsimnet.git/dasimmet/bootstrap_captive")
|
|
p_update.add_argument("-i", "--install_dir", default="/opt/eu.tsimnet.git/dasimmet/bootstrap_captive")
|
|
|
|
|
|