summaryrefslogtreecommitdiff
path: root/community/stunnel/stunnel.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/stunnel/stunnel.install
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/stunnel/stunnel.install')
-rw-r--r--community/stunnel/stunnel.install31
1 files changed, 0 insertions, 31 deletions
diff --git a/community/stunnel/stunnel.install b/community/stunnel/stunnel.install
deleted file mode 100644
index d9998e4da..000000000
--- a/community/stunnel/stunnel.install
+++ /dev/null
@@ -1,31 +0,0 @@
-post_install() {
- # add stunnel group
- if ! getent group stunnel >/dev/null 2>&1; then
- groupadd -g 16 stunnel
- fi
-
- # add stunnel user
- if ! getent passwd stunnel >/dev/null 2>&1; then
- useradd -u 16 -g stunnel -d /var/run/stunnel -s /bin/false stunnel
- fi
-
- # create chroot dir if necessary.
- if [ ! -d /var/run/stunnel ]; then
- install -dm770 -o stunnel -g stunnel /var/run/stunnel
- fi
-}
-
-post_upgrade() {
- post_install "$@"
-}
-
-pre_remove() {
- # remove users & groups
- if getent passwd stunnel >/dev/null 2>&1; then
- userdel stunnel
- fi
-
- if getent group stunnel >/dev/null 2>&1; then
- groupdel stunnel
- fi
-}