summaryrefslogtreecommitdiff
path: root/debian/rhnop-common.postinst
blob: 46f206a5fae034b566dc47f5d24071f4462f7fd1 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# postinst script for rhnop

set -e

if [ "$1" = "configure" ]; then
  adduser --quiet --system --group --no-create-home --home /var/run/rhnop rhnop
  chgrp -R rhnop /etc/rhnop/
fi