From 2794a8f7e4e2ed204fc0a3b1e39f0f0e39fa17c5 Mon Sep 17 00:00:00 2001 From: urmum-69 <49879065+urmum-69@users.noreply.github.com> Date: Thu, 9 Apr 2020 11:15:45 +0000 Subject: [PATCH] enable bluetooth service once bluebomb has run successfully --- assets/files/bluebomb-helper.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/files/bluebomb-helper.sh b/assets/files/bluebomb-helper.sh index 0a4a00e7a..651ccb046 100644 --- a/assets/files/bluebomb-helper.sh +++ b/assets/files/bluebomb-helper.sh @@ -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 }