[no ci] Package: update wifibroadcast-ng

pull/1798/head
viktorxda 2025-04-14 20:11:55 +02:00
parent 110bb12cc2
commit 86fe5451fc
1 changed files with 2 additions and 2 deletions

View File

@ -46,10 +46,11 @@ load_modules() {
echo_log "Detected driver: $driver" echo_log "Detected driver: $driver"
[ -e /sys/class/net/"$wfb_dev" ] && return [ -e /sys/class/net/"$wfb_dev" ] && return
sleep 1
[ "$driver" != "88XXau" ] && opts="rtw_tx_pwr_by_rate=2 rtw_tx_pwr_lmt_enable=2" [ "$driver" != "88XXau" ] && opts="rtw_tx_pwr_by_rate=2 rtw_tx_pwr_lmt_enable=2"
modprobe "$driver" "$opts" modprobe "$driver" "$opts"
sleep 5 sleep 3
if ! ifconfig "$wfb_dev" up; then if ! ifconfig "$wfb_dev" up; then
echo_log "Wireless driver not found!" echo_log "Wireless driver not found!"
@ -128,7 +129,6 @@ start() {
load_interface load_interface
if [ ! -e /etc/system.ok ]; then if [ ! -e /etc/system.ok ]; then
sleep 1
video_settings video_settings
touch /etc/system.ok touch /etc/system.ok
killall -1 majestic killall -1 majestic