blob: 3ba475a039fcc29aaf97d9b6244f83b8d4b7b026 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
id kvmd &>/dev/null || useradd -r -c "The main Pi-KVM daemon" -s /sbin/nologin kvmd
chown root:kvmd \
/usr/share/kvmd/configs.default/kvmd/htpasswd \
/etc/kvmd/htpasswd
kvmd-gencert
}
post_remove() {
userdel kvmd &>/dev/null
}
|