diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index d621bfe..18e53fb 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -247,6 +247,13 @@ nameserver ${value} fi } +spcd_eval() { + if [ -n "${1}" ]; then + echo "${@}" + eval "${@}" + fi +} + # ╭───────────┬───────╮ # │ functions │ error │ # ╰───────────┴───────╯