#!/bin/sh # # This is a sample rc script for LTSP. # # To run this script, add a RCFILE_xx entry to the lts.conf file, # where 'xx' is a 2-digit number between 01 and 10. # For example, if this script were called 'start_nbd', you # would add an entry like this: # # RCFILE_01 = start_nbd . /etc/ltsp_functions HOME=/tmp export HOME # start tserver echo -n "Starting tserver....." ( cd /usr/share echo "starting tserver" nohup /usr/sbin/tserver & echo "Return code $?" ) >/tmp/tserver.log 2>&1 reg_info tserver echo $0