mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-30 05:46:31 -04:00
Optimized RMSERVER.py port-job script
Former-commit-id: 8ac85dff97de4dabab373fa784d6cdf3d4ae3084 Former-commit-id: af32466a41e6f152507569df651eda1fa8502ef3
This commit is contained in:
+3
-1
@@ -831,7 +831,8 @@ if __name__ == "__main__":
|
||||
success_flag = True
|
||||
from stweak import global_menu
|
||||
global_menu('client', 'configuration options:')
|
||||
|
||||
|
||||
# PORT START ARGS-SERVER
|
||||
# server arguments
|
||||
else:
|
||||
if arg_count < 1:
|
||||
@@ -851,6 +852,7 @@ if __name__ == "__main__":
|
||||
elif arg_count > 2 and arguments[1] in ('add', 'del'):
|
||||
success_flag = True
|
||||
whitelist_manage(arguments[2])
|
||||
# PORT END ARGS-SERVER
|
||||
|
||||
if arg_count > 0 and success_flag == 0 and arguments[0] != 'sync':
|
||||
if device_type == 'client' and arguments[0] not in ('help', '-h', 'version', '-v', 'license'):
|
||||
|
||||
Reference in New Issue
Block a user