added monstart and monstop scripts

This commit is contained in:
evilsocket
2019-09-24 15:46:33 +02:00
parent 7967594b48
commit 83aef1fc75
2 changed files with 4 additions and 0 deletions

2
sdcard/rootfs/usr/bin/monstart Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
iw phy phy0 interface add mon0 type monitor && ifconfig mon0 up

2
sdcard/rootfs/usr/bin/monstop Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
ifconfig mon0 down && iw dev mon0 del