mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +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
|
hciconfig $hci up
|
||||||
|
|
||||||
# if DiscoverableTimeout is set to 0, make adapter is discoverable from boot time
|
# 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
|
hciconfig $hci piscan
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user