From 3003face74627b7e875ef63a522e9972bd2a8a41 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 11 Jun 2020 16:36:39 +0100 Subject: [PATCH] Enable dbus on NetBSD --- roles/netbsd/tasks/xorg.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/netbsd/tasks/xorg.yml b/roles/netbsd/tasks/xorg.yml index be731e1..9e918f3 100644 --- a/roles/netbsd/tasks/xorg.yml +++ b/roles/netbsd/tasks/xorg.yml @@ -5,3 +5,15 @@ path: /etc/rc.conf regexp: ^xdm=.* line: xdm=YES +- name: Copy dbus service + become: true + copy: + src: /usr/pkg/share/examples/rc.d/dbus + dest: /etc/rc.d/dbus + remote_src: yes +- name: Enable dbus + become: true + lineinfile: + path: /etc/rc.conf + regexp: ^dbus=.* + line: dbus=YES