From def99d5d0045659b52f10c2f0d01fbdb6e2155ce Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Thu, 27 May 2021 22:00:00 +0200 Subject: [PATCH] Add bluetooth configuration Signed-off-by: Severin Kaderli --- .install/etc.sh | 3 ++- system/etc/bluetooth/main.conf | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 system/etc/bluetooth/main.conf diff --git a/.install/etc.sh b/.install/etc.sh index edde535..89acec4 100644 --- a/.install/etc.sh +++ b/.install/etc.sh @@ -32,6 +32,7 @@ CONFIG_ETC_FILES=( ["/etc/locale.gen"]="755" ["/etc/locale.conf"]="655" ["/etc/sysctl.d/99-sysctl.conf"]="644" + ["/etc/bluetooth/main.conf"]="644" ) output::section "Copying /etc files" @@ -39,4 +40,4 @@ for file in "${!CONFIG_ETC_FILES[@]}"; do output::log "Copying ${YELLOW}${file}${DEFAULT}" sudo install -Dm "${CONFIG_ETC_FILES[${file}]}" "${SYSTEM_DIR}${file}" "${file}" |& output::debug done -output::success "Successfully copied /etc files" \ No newline at end of file +output::success "Successfully copied /etc files" diff --git a/system/etc/bluetooth/main.conf b/system/etc/bluetooth/main.conf new file mode 100644 index 0000000..9073ae9 --- /dev/null +++ b/system/etc/bluetooth/main.conf @@ -0,0 +1,3 @@ +[Policy] +# Auto power-on after boot +AutoEnable=true