#! /bin/sh # -------------------------------------------------------------------------- # # # Pfad: BMW/CIP/support # Datei: stcipb.sh # Zweck: Start des Progman-Terminals auf GT1, DISplus # Autor: Roland Ott # # history: 2004-08-18 - file created. # # $Log: stcipb.sh,v $ # Revision 1.5.26.1.4.1 2004/08/27 08:51:49 ott # # 48.6 # Initial commit for Progman-Terminal. # # # -------------------------------------------------------------------------- # # ---- define variables # CIPB="$BMW_INSTALL/cipb" DISPLAY=":0.0" export CIPB DISPLAY # ---- start SBC in background # # we change directory to the SBC's home because it will # leave logfiles in its current directory if not configured otherwise # SAVE_CWD=`pwd` cd $CIPB/sbc ./sbc_light -c sbc.ini & # ---- we remember the SBC's PID to simplify stopping the process # (SBC creates some children) # SBC_PID=$! cd $SAVE_CWD # ---- open netscape window invisible # the site index page will realize kiosk mode by Javascript # netscape -geometry "1x1+0+0" -xrm "*useStderrDialog:false" \ "http://localhost/cipb/" # ---- shutdown SBC # kill -TERM $SBC_PID exit 0