summaryrefslogtreecommitdiff
path: root/community/neatx/neatx.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/neatx/neatx.install
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/neatx/neatx.install')
-rw-r--r--community/neatx/neatx.install18
1 files changed, 0 insertions, 18 deletions
diff --git a/community/neatx/neatx.install b/community/neatx/neatx.install
deleted file mode 100644
index 89356878c..000000000
--- a/community/neatx/neatx.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- useradd -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null
- mkdir -p ~nx/.ssh
- cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys
- chmod 600 ~nx/.ssh/authorized_keys
- chown -R nx ~nx
- post_remove
-}
-
-pre_remove() {
- userdel nx > /dev/null 2>&1
- rm -rf ~nx
-}
-
-post_remove() {
- sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf
- ldconfig
-}