sysusers-hook 215 B

123456789101112131415
  1. #!/bin/sh -e
  2. each_conf() {
  3. while read -r f; do
  4. "$@" "$(basename "$f")"
  5. done
  6. }
  7. case $1 in
  8. sysusers) each_conf /usr/bin/systemd-sysusers ;;
  9. *) echo >&2 " Invalid operation '$1'"; exit 1 ;;
  10. esac
  11. exit 0