13 lines
270 B
Bash
13 lines
270 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = configure ]; then
|
|
# Make sure the administrative user exists
|
|
if ! getent passwd lemur > /dev/null; then
|
|
adduser --system --home /nonexistent --no-create-home --group --gecos "User for lemur" lemur --quiet
|
|
fi
|
|
fi
|
|
|
|
exit 0
|