#!/bin/sh
############################################################################
#                                                                          #
#  Copyright (c) 2001, 2007 NoMachine, http://www.nomachine.com.           #
#                                                                          #
#  NXSERVER, NX protocol compression and NX extensions to this software    #
#  are copyright of NoMachine. Redistribution and use of the present       #
#  software is allowed according to terms specified in the file LICENSE    #
#  which comes in the source distribution.                                 #
#                                                                          #
#  Check http://www.nomachine.com/licensing.html for applicability.        #
#                                                                          #
#  NX and NoMachine are trademarks of NoMachine S.r.l.                     #
#                                                                          #
#  All rigths reserved.                                                    #
#                                                                          #
############################################################################
NODE_ROOT='/usr/NX'
CONFIG_FILE="$NODE_ROOT/etc/node.cfg"


start()
{

test -r /usr/NX/scripts/restricted/nxtmpperm.sh  && . /usr/NX/scripts/restricted/nxtmpperm.sh

}

case $1 in
start)
      start
   ;;

restart)

    start
  ;;
*)
  echo "Usage: $0 {start|restart}"
  exit 1
  ;;
esac
