system

the Chamesle handbook, init, live ISO and install helpers
git clone https://github.com/tortr-rs/system
Log | Files | Refs | README | LICENSE

commit 312022e73d2bbfdc24b0c72d2b2b825d37c5e43b
parent 046f260398de50fde0d21b8b6da7edd26c104540
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sat, 14 Nov 2026 19:16:40 +0000

services: dbus and NetworkManager, dbus ahead of NetworkManager in the init.conf example

Diffstat:
Mfiles/etc/init.conf | 2+-
Afiles/etc/services/NetworkManager | 5+++++
Afiles/etc/services/dbus | 11+++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/files/etc/init.conf b/files/etc/init.conf @@ -2,7 +2,7 @@ hostname = chamesle # started in this order at boot, stopped in reverse at shutdown -#boot-services = {NetworkManager,LightDM,dbus} +#boot-services = {udev,modules,dbus,NetworkManager,LightDM} boot-services = {udev,modules,network} # kernel modules to load by hand diff --git a/files/etc/services/NetworkManager b/files/etc/services/NetworkManager @@ -0,0 +1,5 @@ +#!/bin/sh +. /etc/services.subr +procname=NetworkManager +svc_start() { NetworkManager; } +run "$1" diff --git a/files/etc/services/dbus b/files/etc/services/dbus @@ -0,0 +1,11 @@ +#!/bin/sh +. /etc/services.subr +procname=dbus-daemon +svc_start() { + mkdir -p /var/lib/dbus /run/dbus + chown dbus:dbus /run/dbus + [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen --ensure=/var/lib/dbus/machine-id + rm -f /run/dbus/pid + dbus-daemon --system +} +run "$1"