summaryrefslogtreecommitdiff
path: root/pcr/postsrsd/postsrsd.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/postsrsd/postsrsd.install')
-rw-r--r--pcr/postsrsd/postsrsd.install15
1 files changed, 0 insertions, 15 deletions
diff --git a/pcr/postsrsd/postsrsd.install b/pcr/postsrsd/postsrsd.install
deleted file mode 100644
index b8e7f8d5a..000000000
--- a/pcr/postsrsd/postsrsd.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- useradd -r -g mail -d / postsrsd
- chown -R postsrsd:root etc/postsrsd
-
- [ -e /etc/postsrsd/postsrsd.secret ] || dd if=/dev/urandom bs=18 count=1 status=none | base64 > /etc/postsrsd/postsrsd.secret
- chown postsrsd:root /etc/postsrsd/postsrsd.secret
- chmod 400 /etc/postsrsd/postsrsd.secret
- cat << _EOF
-Don't forget to set your domainname in /etc/postsrsd/postsrsd.conf
-_EOF
-}
-
-post_remove() {
- userdel postsrsd
-}