#!/bin/sh cd $(dirname $(readlink -f $0)) echo "loading THREE.js scene" echo "" > /root/index.html # empty scene cp index.js /root/index.js