mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
Now all invocations have following order of arguments (if present): addgroup -S -g ... GROUP adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
12 lines
183 B
Bash
12 lines
183 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S haclient 2>/dev/null
|
|
adduser -S \
|
|
-h /var/lib/heartbeat/cores/hacluster \
|
|
-s /sbin/nologin \
|
|
-G haclient \
|
|
-g hacluster \
|
|
hacluster \
|
|
2>/dev/null
|
|
|
|
exit 0
|