summaryrefslogtreecommitdiff
path: root/pcr/tcpcrypt/tcpcrypt.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/tcpcrypt/tcpcrypt.install')
-rw-r--r--pcr/tcpcrypt/tcpcrypt.install27
1 files changed, 0 insertions, 27 deletions
diff --git a/pcr/tcpcrypt/tcpcrypt.install b/pcr/tcpcrypt/tcpcrypt.install
deleted file mode 100644
index bcfccbe9a..000000000
--- a/pcr/tcpcrypt/tcpcrypt.install
+++ /dev/null
@@ -1,27 +0,0 @@
-post_install() {
-libtool --finish /usr/lib
-JAIL_DIR=/var/run/tcpcryptd
-JAIL_USER=tcpcryptd
- if [ ! -d "$JAIL_DIR" ]
- then
- echo "Creating jail directory $JAIL_DIR"
- (umask 077 && mkdir $JAIL_DIR)
- fi
-
- id $JAIL_USER >/dev/null 2>&1
- if [ $? -ne 0 ]
- then
- echo "Creating user and group '$JAIL_USER'"
- useradd -s /nonexistent -d /nonexistent -M -U $JAIL_USER
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- userdel tcpcryptd &>/dev/null
- groupdel tcpcryptd &>/dev/null
- rm -rf /var/run/tcpcryptd
-} \ No newline at end of file