8 lines
216 B
Bash
8 lines
216 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Create scoutfs-manager system user if it doesn't exist
|
|
if ! getent passwd scoutfs-manager > /dev/null 2>&1; then
|
|
useradd --system --no-create-home --shell /usr/sbin/nologin scoutfs-manager
|
|
fi
|