Søren Rasmussen
b27703708e
All checks were successful
continuous-integration/drone/push Build is passing
17 lines
298 B
Bash
17 lines
298 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
install)
|
|
groupadd --system --force w1
|
|
adduser --system --group --no-create-home --add_extra_groups gpio,w1,i2c --home /var/lib/fermentord --shell /sbin/nologin fermentor
|
|
;;
|
|
|
|
configure)
|
|
systemctl try-reload-or-restart fermentord
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|