Include Page |
---|
| KBCOMMON:KB-CSSstyle |
---|
| KBCOMMON:KB-CSSstyle |
---|
|
...
Example: activation of port 1 on the SEH myUTN-50a USB/Ethernet box before starting the Charon emulator
#!/bin/sh
#
# Parameter $1: contains full path to cfg file
# Parameter $2: contains full path to emulator exe file
#
# Important notes:
# - comments & commands must be on separate lines
# - respect the structure of the file with case/in/esac
# - only place your commands between the selection and the ';;' line
# - do not add any 'exit' command in the script unless you want the
# virtual machine not to be started if the script fails
#
. /opt/charon/utils/charon_common
#
case "$1"
in /charoncharonRP7400/rp7400.cfg) /usr/bin/utnm -c "activate utn50agvalab 1" ;; *) echo "Invalid parameter '$1' for prestart" exit 1 ;;
esac
|
...