~mil/sxmo-utils

ref: dbc3b1ab509aab5f1db72c5cece2ee2a6eb521e8 sxmo-utils/scripts/core/sxmo_resetscaninterval.sh -rwxr-xr-x 413 bytes
dbc3b1abStacy Harper Allow the sendnewtextmenu to be used with a number as arg 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# this script resets the wireless scan interval (value is in ms)
# it is invoked with a delay after waking from sleep
# to prevent the scan interval from being too quick, and thus
# too battery consuming, whilst no networks are found

# the kernel parameter must be writable for the user
# or this script must have the setsuid bit set!

echo 16000 > /sys/module/8723cs/parameters/rtw_scan_interval_thr