diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-05-04 05:55:15 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-05-04 06:29:05 -0400 |
commit | 41eba2474f5e6991a4b62fe2ad1dc5cec57a077c (patch) | |
tree | 1f11615e5b3b077d45a23f0c4c49bcf6b127cb7e /configs/profile/root-image/root/.session/install/chroot-services.sh | |
parent | d26452f7028ffd28f50bb7b276e3d800309866f1 (diff) |
extract install wizard as new dedicated project
Diffstat (limited to 'configs/profile/root-image/root/.session/install/chroot-services.sh')
-rwxr-xr-x | configs/profile/root-image/root/.session/install/chroot-services.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/configs/profile/root-image/root/.session/install/chroot-services.sh b/configs/profile/root-image/root/.session/install/chroot-services.sh deleted file mode 100755 index a63963e..0000000 --- a/configs/profile/root-image/root/.session/install/chroot-services.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -source /root/session-common.sh.inc - - -Init=$(GetStateVar 'INIT') -Wmde=$(GetStateVar 'WMDE') -if [[ "${Init}" == 'openrc' ]] -then # Create the dbus user if it doesn't exist - grep dbus /etc/group > /dev/null || groupadd -g 81 dbus - grep dbus /etc/passwd > /dev/null || useradd -g 81 -u 81 dbus -r -s /sbin/nologin - - # Enable services with OpenRC - rc-update add alsasound default - rc-update add dbus default - rc-update add NetworkManager default -elif [[ "${Init}" == 'systemd' ]] - case "${Wmde}" in - 'lxde') systemctl enable 'NetworkManager.service' 'lxdm.service' ;; - 'mate') systemctl enable 'NetworkManager.service' 'lightdm.service' ;; - * ) systemctl enable 'dhcpcd.service' 'systemd-resolved.service' ;; - esac -fi |