forked from pool/sysuser-tools
1d4aa7fd58
- Support systemd-sysusers --replace=/usr/lib/sysusers.d/ option - sysusers-generate-pre: only use first argument for grep - sysusers2shadow.sh: use "run" prefix for systemd-sysusers call - macros.sysusers: fix typo OBS-URL: https://build.opensuse.org/request/show/898111 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=44
7 lines
178 B
Bash
7 lines
178 B
Bash
#!/bin/sh
|
|
# pass systemd sysusers config paths as argument to this script.
|
|
|
|
echo "/usr/sbin/sysusers2shadow $2 <<\"EOF\" || [ -f /.buildenv ]"
|
|
grep -he '^[ugmr]' "$1"
|
|
echo 'EOF'
|