Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-11-20 13:39:45 +01:00
parent 1d216a959c
commit c47fb379cb
3 changed files with 1 additions and 10 deletions

View File

@ -1,5 +0,0 @@
[main]
plugins=keyfile,ifupdown
[ifupdown]
managed=true

View File

@ -9,6 +9,7 @@ if is_crypted_mode; then
done
fi
reload_brcm
start_monitor_interface
if is_auto_mode_no_delete; then

View File

@ -16,11 +16,6 @@ reload_brcm() {
# starts mon0
start_monitor_interface() {
rfkill unblock all
modprobe -r brcmfmac
sleep 1
modprobe brcmfmac
sleep 1
ifconfig wlan0 up
sleep 3
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add wlan0mon type monitor