blob: 29cfe8e184c29239d0251020edb9847d2097cb7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
getent group netflow &>/dev/null || groupadd -r -g 44 netflow >/dev/null
getent passwd netflow &>/dev/null || useradd -r -u 44 -g netflow -d /var/lib/nfsen -s /bin/false -G netflow http >/dev/null
usr/bin/systemd-tmpfiles --create nfsen.conf || true
echo ''
echo '::'
echo ':: NOTE:'
echo ':: To complete the installation, run:'
echo ':: cd /usr/share/webapps/nfsen'
echo ':: su -c "./install.pl /etc/nfsen.conf"'
echo '::'
echo ''
}
|