db3da22457
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.
11 lines
227 B
Bash
Executable File
11 lines
227 B
Bash
Executable File
#!/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
|