mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -98,8 +98,7 @@ class Agent(Client, Automata, AsyncAdvertiser):
|
|||||||
if has_mon is False:
|
if has_mon is False:
|
||||||
if mon_start_cmd is not None and mon_start_cmd != '':
|
if mon_start_cmd is not None and mon_start_cmd != '':
|
||||||
logging.info("starting monitor interface ...")
|
logging.info("starting monitor interface ...")
|
||||||
# self.run('!%s' % mon_start_cmd)
|
self.run('!%s' % mon_start_cmd)
|
||||||
subprocess.Popen([mon_start_cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
||||||
else:
|
else:
|
||||||
logging.info("waiting for monitor interface %s ...", mon_iface)
|
logging.info("waiting for monitor interface %s ...", mon_iface)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
Reference in New Issue
Block a user