summaryrefslogtreecommitdiffstats
path: root/net/SSLtelnet/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'net/SSLtelnet/pkg-plist')
-rw-r--r--net/SSLtelnet/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/SSLtelnet/pkg-plist b/net/SSLtelnet/pkg-plist
index e97f9d8..526c71d 100644
--- a/net/SSLtelnet/pkg-plist
+++ b/net/SSLtelnet/pkg-plist
@@ -2,3 +2,4 @@ bin/telnet
libexec/telnetd
@exec mkdir %%OPENSSLDIR%%/certs
@exec if [ ! -f $(OPENSSLDIR)/certs/telnetd.pem ]; then cd %%OPENSSLDIR%%/certs; openssl req -new -x509 -nodes -days 365 -out telnetd.pem -keyout telnetd.pem; ln -s telnetd.pem `openssl x509 -noout -hash < telnetd.pem`.0 ; chmod 600 $(OPENSSLDIR)/certs/telnetd.pem; fi
+@unexec rmdir %%OPENSSLDIR%%/certs 2>/dev/null || true
OpenPOWER on IntegriCloud