diff -r a2342f26c9de -r b0b56e0f8c7f dev/provisioning/modules/puppi/files/scripts/execute.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev/provisioning/modules/puppi/files/scripts/execute.sh Fri Jan 15 15:35:00 2016 +0100 @@ -0,0 +1,12 @@ +#!/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}"