enable bluetooth service once bluebomb has run successfully
This commit is contained in:
parent
c063a56901
commit
2794a8f7e4
1 changed files with 5 additions and 0 deletions
|
@ -194,6 +194,11 @@ execute() {
|
|||
printf "\n* Executing BlueBomb...\n"
|
||||
printf "$sudo0 ./bluebomb-$arch ./stage0/$arg1$arg2.bin stage1.bin\n"
|
||||
$sudo0 ./bluebomb-$arch ./stage0/$arg1$arg2.bin stage1.bin
|
||||
printf "* Enabling the Bluetooth service... (you may be prompted for your password)\n"
|
||||
case "$init" in
|
||||
"systemd" ) $sudo0 systemctl enable --now bluetooth.service ;;
|
||||
"openrc" ) $sudo0 rc-service bluetooth start ;;
|
||||
esac
|
||||
credit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue