14 lines
207 B
Bash
14 lines
207 B
Bash
#!/bin/sh -e
|
|
|
|
each_conf() {
|
|
while read -r f; do
|
|
"$@" "$(basename "$f")"
|
|
done
|
|
}
|
|
|
|
case $1 in
|
|
sysusers) each_conf /usr/bin/sysusers ;;
|
|
*) echo >&2 " Invalid operation '$1'"; exit 1 ;;
|
|
esac
|
|
|
|
exit 0
|