fix: fixed race condition (again) on override files

This commit is contained in:
Simone Margaritelli
2019-11-04 17:33:35 +01:00
parent 00e7c04980
commit e336fca0de
2 changed files with 34 additions and 1 deletions

View File

@ -4,7 +4,7 @@ source /usr/bin/pwnlib
# start mon0
start_monitor_interface
if is_auto_mode; then
if is_auto_mode_no_delete; then
/usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0
else
/usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0