mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 05:53:09 +00:00
12 lines
253 B
Bash
12 lines
253 B
Bash
#!/bin/sh -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
if ! id zerotier-one >>/dev/null 2>&1; then
|
|
useradd --system --user-group --home-dir /var/lib/zerotier-one --shell /usr/sbin/nologin --no-create-home zerotier-one
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|