dev/provisioning/modules/puppi/files/scripts/execute.sh
author ymh <ymh.work@gmail.com>
Tue, 04 Oct 2016 11:58:39 +0200
changeset 319 78990a8a069b
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
Work on front and back integration, correct the expected data format

#!/bin/bash
# execute.sh - Made for Puppi
# This script just executes what is passed as argument

# Sources common header for Puppi scripts
. $(dirname $0)/header || exit 10

#parse variables
command=$(eval "echo "$*"")

#execute command
eval "${command}"