dev/provisioning/modules/puppi/files/scripts/execute.sh
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 #!/bin/bash
       
     2 # execute.sh - Made for Puppi
       
     3 # This script just executes what is passed as argument
       
     4 
       
     5 # Sources common header for Puppi scripts
       
     6 . $(dirname $0)/header || exit 10
       
     7 
       
     8 #parse variables
       
     9 command=$(eval "echo "$*"")
       
    10 
       
    11 #execute command
       
    12 eval "${command}"