From 143d3ab2c504dfaba60b92ce5e86fc9fd5a432a6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 May 2013 00:06:35 +0000 Subject: harddrake: do not disable bluetooth service if adapter disappears (for example if disabled by Fn keys), systemd will automatically disable the service if needed --- perl-install/harddrake/autoconf.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm index 002d562bb..0fd4c9957 100644 --- a/perl-install/harddrake/autoconf.pm +++ b/perl-install/harddrake/autoconf.pm @@ -46,6 +46,11 @@ sub pcmcia { sub bluetooth { my ($enable) = @_; + # do not disable bluetooth service if adapter disappears + # (for example if disabled by Fn keys) + # systemd will automatically disable the service if needed + return if !$enable; + #- FIXME: make sure these packages are installed when needed # if ($enable) { # require do_pkgs; -- cgit v1.2.1