#!/bin/sh # pass systemd sysusers config paths as argument to this script. echo '#!/bin/sh' echo 'cat <<"EOF" |' grep -he '^[ugmr]' "$@" echo 'EOF' echo '/usr/sbin/sysusers2shadow || [ -f /.buildenv ]'