aboutsummaryrefslogtreecommitdiff
path: root/network/freenx/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/freenx/doinst.sh')
-rw-r--r--network/freenx/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/network/freenx/doinst.sh b/network/freenx/doinst.sh
index 440c22901fb21..451febba867b4 100644
--- a/network/freenx/doinst.sh
+++ b/network/freenx/doinst.sh
@@ -109,3 +109,11 @@ chown nx:root \${NX_LOGFILE}
EOCR
+usr/bin/nxsetup --install --setup-nomachine-key --uid 243 --gid 243 --auto
+
+WARNI="\n- - - - -\n\n\
+The package installs the default nomachine key to protect the connection.\n\
+run \"nxsetup --purge --uninstall ; sh preinstall.sh ; nxsetup --install\"\n\
+from the build folder to set some custom keys (for additional security).\n\
+\n- - - - -\n"
+printf "%b\n" "$WARNI"