Include Page |
---|
| KBCOMMON:KB-CSSstyle |
---|
| KBCOMMON:KB-CSSstyle |
---|
|
...
When the script is initialized using option 6 or when a new virtual machine is added, the following lines are added:
... # 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
#
. /opt/charon/utils/charon_common
#
case "$1"
in
<configuration file>)
#-- Uncomment and complete one of the following lines:
#${CHARONDIR}/utils/charon_gstop_expect \$1 \$2 root <password> "<prompt>" <TRU64/VMS>
#${CHARONDIR}/utils/charon_gstop_rsh \$1 \$2 <hostname> <TRU64/VMS>
#${CHARONDIR}/utils/charon_gstop_ssh \$1 \$2 <hostname> <TRU64/VMS>
#/<path>/<myscript>
;;
... esac
|
One of the blue colored lines above has to be uncommented depending on the method chosen. Other lines can remain in the script or can be deleted.
...
The editor defined in the Preferences is used to edit the script.
... #
. /opt/charon/utils/charon_common
#
case "$1"
in
/charon/pluto.
|
...
cfg)
${CHARONDIR}/utils/charon_gstop_ssh $1 $2 pluto5 TRU64
;;
*)
echo "Invalid parameter '$1'"
exit 1
;;
esac
|
Stop script execution example with "ssh" on Red Hat Enterprise Linux 7.8:
...