diff options
Diffstat (limited to 'pcr/knot/install')
-rw-r--r-- | pcr/knot/install | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pcr/knot/install b/pcr/knot/install deleted file mode 100644 index 90ece5b42..000000000 --- a/pcr/knot/install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - getent group knot &>/dev/null || groupadd -r knot >/dev/null - getent passwd knot &>/dev/null || useradd -r -g knot -d /dev/null -s /bin/false -c knot knot >/dev/null - chown knot:knot /var/lib/knot - chmod 700 /var/lib/knot -} - -post_remove() { - getent passwd knot &>/dev/null && userdel knot >/dev/null - getent group knot &>/dev/null && groupdel knot >/dev/null - true -} |