Skip to content

Commit

Permalink
Merge pull request #1210 from spycat88/work
Browse files Browse the repository at this point in the history
rocknix: fix remove all bluetooth devices option
  • Loading branch information
spycat88 authored Jan 30, 2025
2 parents 519e9d3 + 412e5ac commit c09c4b5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/rocknix/sources/scripts/rocknix-config
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,9 @@ if [[ "$command" == "storage" ]]; then
fi

if [[ "$command" == "forgetBT" ]]; then
killall -9 hcitool
systemctl stop bluetooth
rm -rf /storage/.cache/bluetooth/*
systemctl start bluetooth
systemctl stop bluetooth bluetooth-agent
rm -rf /storage/.cache/bluetooth/* /storage/roms/backups/bluetooth.tar
systemctl start bluetooth bluetooth-agent
exit 0
fi

Expand Down

0 comments on commit c09c4b5

Please sign in to comment.