<< to CrossControl homepage

Support & Service Center

Startup environment variables

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

During startup, the environment variables HOME and USER are set as following:

  • USER=””
  • HOME=/

If using these variables in an application which is automatically started using a startup script from any of the rc run levels, the variables might need altering. To do so, simply add the desired variable exports to your startup script. See an example below:

#!/bin/sh
 
case "$1" in
    start)
    export USER=root
    export HOME=/home/root
    myApp &
    ;;
esac
Applies to version: 
CCP VS
whatever