14 lines
324 B
Plaintext
14 lines
324 B
Plaintext
|
#!/bin/sh -eu
|
||
|
|
||
|
# ensure that all the necesary system groups exist
|
||
|
|
||
|
echo '/usr/share/install3/default-groups
|
||
|
/etc/alterator/auth/user-groups
|
||
|
/etc/alterator/auth/admin-groups' \
|
||
|
| while read LIST; do
|
||
|
[ -s "$LIST" ] || continue
|
||
|
for GROUP in $(cat "$LIST"); do
|
||
|
groupadd -r "$GROUP" &>/dev/null ||:
|
||
|
done
|
||
|
done
|