diff options
Diffstat (limited to 'net-misc/nxserver-freeedition/files/nxserver-2.1.0-init')
-rw-r--r-- | net-misc/nxserver-freeedition/files/nxserver-2.1.0-init | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init b/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init deleted file mode 100644 index e133d85..0000000 --- a/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# opts="${opts} reload configtest" - -NX_SERVER_CMD="/usr/NX/bin/nxserver" - -depend() -{ - need net - use nxsensor -} - -start() { - ebegin "Starting nxserver" - $NX_SERVER_CMD --start - if [ $? = 0 ]; then - $NX_SERVER_CMD --statistics start - eend $? - else - eend 1 - fi -} - -stop() { - ebegin "Stopping nxserver" - $NX_SERVER_CMD --stop - $NX_SERVER_CMD --statistics stop - eend 0 -} |