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