mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
temp test remove
This commit is contained in:
parent
f5a9e37c06
commit
e8bc313a7f
@ -39,11 +39,10 @@ WantedBy=multi-user.target
|
||||
if sys.argv[1] == "on":
|
||||
|
||||
# check if already running
|
||||
already_running = subprocess.check_output("systemctl is-enabled %s" % (SERVICENAME) ,shell=True, universal_newlines=True)
|
||||
print(already_running)
|
||||
if str(already_running).count("enabled") > 0:
|
||||
print("already ON - run 'internet.sshtunnel.py off' first")
|
||||
sys.exit(1)
|
||||
#already_running = subprocess.check_output("systemctl is-enabled %s" % (SERVICENAME) ,shell=True, universal_newlines=True)
|
||||
#if str(already_running).count("enabled") > 0:
|
||||
# print("already ON - run 'internet.sshtunnel.py off' first")
|
||||
# sys.exit(1)
|
||||
|
||||
# check server address
|
||||
ssh_server = sys.argv[2]
|
||||
|
Loading…
x
Reference in New Issue
Block a user