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