Restart NetworkManager if killed, using 'service' command.
Previously only restarted network-manager if iface was put into monitor mode. Also tries systemctrl if 'service' fails. Should resolve #70
This commit is contained in:
@@ -394,7 +394,9 @@ if __name__ == '__main__':
|
||||
while aireplay.is_running():
|
||||
from time import sleep
|
||||
sleep(0.1)
|
||||
print aireplay.get_output()
|
||||
stdout, stderr = aireplay.get_output()
|
||||
print "STDOUT>", stdout
|
||||
print "STDERR>", stderr
|
||||
'''
|
||||
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user