summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/06-bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/06-bluetooth')
-rwxr-xr-xconfig/chroot_local-hooks/06-bluetooth3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/chroot_local-hooks/06-bluetooth b/config/chroot_local-hooks/06-bluetooth
index 98f422e..6f53821 100755
--- a/config/chroot_local-hooks/06-bluetooth
+++ b/config/chroot_local-hooks/06-bluetooth
@@ -1,3 +1,4 @@
#!/bin/sh
-sed -i 's/^\(HIDD_ENABLED\)=.*/\1=1/' /etc/default/bluetooth
+[ -e /etc/default/bluetooth ] && sed -i 's/^\(HIDD_ENABLED\)=.*/\1=1/' /etc/default/bluetooth
#sed -i 's/\(^HIDD_OPTIONS\)=.*/\1="--master --server --search"/' /etc/default/bluetooth
+exit 0