system

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

commit 08c30866f388e7aaadb3ebb61f541be04d76ccba
parent f6026e7ed2e4fec98f2c891cc6a0b622ea3e402e
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sun, 22 Nov 2026 21:09:15 +0000

base r22: wpa_supplicant off at boot when NetworkManager is on

Diffstat:
Mpkg/chamesle-base/post-upgrade | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/pkg/chamesle-base/post-upgrade b/pkg/chamesle-base/post-upgrade @@ -1,4 +1,9 @@ #!/bin/sh +# NetworkManager starts its own wpa_supplicant; the service next to it takes the card away from it +if [ -e /etc/runlevels/default/networkmanager ] && [ -e /etc/runlevels/default/wpa_supplicant ]; then + rm -f /etc/runlevels/default/wpa_supplicant + echo "chamesle-base: wpa_supplicant is off at boot, NetworkManager starts its own (reboot, or rc-service wpa_supplicant stop)" +fi # from dinit (or Winchester) to OpenRC, once: what was enabled there is enabled in the default runlevel [ -e /etc/runlevels/boot/hostname ] && exit 0 levels() { @@ -22,6 +27,7 @@ for s in $on; do esac add default $s done +[ -e /etc/runlevels/default/networkmanager ] && rm -f /etc/runlevels/default/wpa_supplicant command -v zpool >/dev/null && add sysinit zfs-import zfs-mount rm -rf /etc/dinit.d echo "chamesle-base: the init is OpenRC now. enabled: $(ls /etc/runlevels/default | tr '\n' ' ')"