init: sysvinit+NM support
The issue at hand it _nmconnect group that's supported in ALT NM for polkit-less cases; it has to be added *before* 50-users hook from deflogin feature fires off. The existing systemd-related hook has been renamed to reflect its job better.
This commit is contained in:
parent
734b04f16f
commit
db3da22457
10
features.in/init/rootfs/image-scripts.d/40-sysvinit
Executable file
10
features.in/init/rootfs/image-scripts.d/40-sysvinit
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# 40: should run before 50-users in deflogin
|
||||
|
||||
# the part below relates to sysvinit specifically
|
||||
rpm -q sysvinit || exit 0
|
||||
|
||||
# NM-specific group
|
||||
case "$GLOBAL_GROUPS" in
|
||||
*_nmconnect*) groupadd -r _nmconnect ||:;;
|
||||
esac
|
Loading…
Reference in New Issue
Block a user