summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2013-05-07 00:06:35 +0000
committerOlivier Blin <blino@mageia.org>2013-05-07 00:06:35 +0000
commitd2cd9129a49b83d346b1b8d76e87643d2984e5cb (patch)
tree181374b7924cf317a75f81307fe5f2e039818638
parent3ea928962a3b1b594edc7fb33c778de19f2cf9d2 (diff)
downloaddrakx-backup-do-not-use-d2cd9129a49b83d346b1b8d76e87643d2984e5cb.tar
drakx-backup-do-not-use-d2cd9129a49b83d346b1b8d76e87643d2984e5cb.tar.gz
drakx-backup-do-not-use-d2cd9129a49b83d346b1b8d76e87643d2984e5cb.tar.bz2
drakx-backup-do-not-use-d2cd9129a49b83d346b1b8d76e87643d2984e5cb.tar.xz
drakx-backup-do-not-use-d2cd9129a49b83d346b1b8d76e87643d2984e5cb.zip
harddrake: do not disable bluetooth service if adapter disappears (for
example if disabled by Fn keys), systemd will automatically disable the service if needed
-rw-r--r--perl-install/NEWS5
-rw-r--r--perl-install/harddrake/autoconf.pm5
2 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d9f36ae1a..50c1efc0f 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,8 @@
+- harddrake:
+ o do not disable bluetooth service if adapter disappears
+ (for example if disabled by Fn keys)
+ systemd will automatically disable the service if needed
+
Version 15.47 - 30 April 2013
- skip comments in /etc/crypttab (Colin, mga#9905)
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;