blob: 6d16f9444ed2d581bd279fe96bf2565f8b1b6626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
groupadd osecgroup
useradd -G osecgroup -d /var/lib/osec osec
chown -R osec.osecgroup /var/lib/osec
echo "-- Use osec -D /var/lib/osec -u osec -g osecgroup -f /etc/osec/dirs.conf | osec_reporter"
}
post_upgrade() {
chown -R osec.osecgroup /var/lib/osec
echo "-- Use osec -D /var/lib/osec -u osec -g osecgroup -f /etc/osec/dirs.conf | osec_reporter"
}
post_remove() {
userdel osec
groupdel osecgroup
}
|