summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/autoconf.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-03 17:06:15 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-03 17:06:15 +0000
commitb8bd775b5130b77409ed25512c7cb98176e5a6a1 (patch)
tree6ea123ee4927ca2eeb8d6892609fd378b8330667 /perl-install/harddrake/autoconf.pm
parent0f38a5dbb601e370650f524d65b17e249028dca5 (diff)
downloaddrakx-b8bd775b5130b77409ed25512c7cb98176e5a6a1.tar
drakx-b8bd775b5130b77409ed25512c7cb98176e5a6a1.tar.gz
drakx-b8bd775b5130b77409ed25512c7cb98176e5a6a1.tar.bz2
drakx-b8bd775b5130b77409ed25512c7cb98176e5a6a1.tar.xz
drakx-b8bd775b5130b77409ed25512c7cb98176e5a6a1.zip
autoconf bluetooth controllers (enable bluetooth service)
Diffstat (limited to 'perl-install/harddrake/autoconf.pm')
-rw-r--r--perl-install/harddrake/autoconf.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm
index b451286df..85be3ea4b 100644
--- a/perl-install/harddrake/autoconf.pm
+++ b/perl-install/harddrake/autoconf.pm
@@ -43,4 +43,16 @@ sub pcmcia {
});
}
+sub bluetooth {
+ my ($enable) = @_;
+#- FIXME: make sure these packages are installed when needed
+# if ($enable) {
+# require do_pkgs;
+# my $do_pkgs = do_pkgs_standalone->new;
+# $do_pkgs->ensure_is_installed("bluez-utils", "/usr/bin/rfcomm");
+# }
+ require services;
+ services::set_status("bluetooth", $enable);
+}
+
1;