mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
bluetooth init script: fix negated if condition
This commit is contained in:
parent
da89e861f2
commit
42538f2142
@ -32,7 +32,7 @@ configure() {
|
||||
hciconfig $hci up
|
||||
|
||||
# if DiscoverableTimeout is set to 0, make adapter is discoverable from boot time
|
||||
if ! grep -E '^DiscoverableTimeout\s*=\s*0$' $run_conf &>/dev/null; then
|
||||
if grep -E '^DiscoverableTimeout\s*=\s*0$' $run_conf &>/dev/null; then
|
||||
hciconfig $hci piscan
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user