Newer
Older

Alberto LIVIO BECCARIA
committed
# VirtualBox GUI Launcher v0.10
# by ulisse aka A. Livio Beccaria
#
# Starts VirtualBox GUI
#############################################
# source folder
SRC_DIR="$(dirname $(readlink -f $0))"
# templates folder
TEMPLATE_DIR="${SRC_DIR}/templates"
#-------------------------------------------------------------------------------
. $SRC_DIR/settings/settings

Alberto LIVIO BECCARIA
committed
if [ ! -d $USER_TMP_DIR ]; then
mkdir $USER_TMP_DIR
fi
for f in $(ls $SRC_DIR/settings/*.settings); do
. $f

Alberto LIVIO BECCARIA
committed
if [ ! -d ${USER_TMP_DIR} ]; then
mkdir ${USER_TMP_DIR}

Alberto LIVIO BECCARIA
committed
cp "${TEMPLATE_DIR}/${DIFF_DISK_FILE}" "${USER_TMP_DIR}"
chmod 755 "${USER_TMP_DIR}/${DIFF_DISK_FILE}"