#!/bin/bash
### BEGIN BOOT SCRIPT INFO
#Long-Name: DtCyber
#Short-Name: dtcyber
### END BOOT SCRIPT INFO
### BEGIN BOOT SCRIPT INSTALLATION DEFAULTS
#Launch-Mode: gui-and-terminal
### END BOOT SCRIPT INSTALLATION DEFAULTS
#
#This boot script is for DtCyber configurations with a node.js wrapper script.
#
#Files required by this script:
#images/		image directory specific to the guest OS
#images/start.js	node.js script to start DtCyber

. bootscriptfunctions.sh

cd images

NODE_PATH="$PWD/node_modules" exec node ./start.js
