1
0
forked from pool/sysuser-tools
sysuser-tools/sysusers-generate-pre

7 lines
178 B
Plaintext
Raw Normal View History

#!/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'