summaryrefslogtreecommitdiff
path: root/hscript/script_e.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-24 20:35:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-24 20:35:14 -0500
commit9c9e400b68f9cfb2270434fb8a16cc0df906ab8b (patch)
tree051470d7c3d29401462e3563bca34b11e58af5c5 /hscript/script_e.cc
parentb9980223dd469f24359d969ab24c3694507897e5 (diff)
downloadhorizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.tar.gz
horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.tar.bz2
horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.tar.xz
horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.zip
hscript: Implement 'svcenable' key and tests
Diffstat (limited to 'hscript/script_e.cc')
-rw-r--r--hscript/script_e.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/hscript/script_e.cc b/hscript/script_e.cc
index a7bb6d2..829d672 100644
--- a/hscript/script_e.cc
+++ b/hscript/script_e.cc
@@ -653,6 +653,10 @@ bool Script::execute() const {
EXECUTE_OR_FAIL("timezone", internal->tzone)
+ for(const auto &svc : internal->svcs_enable) {
+ EXECUTE_OR_FAIL("svcenable", svc)
+ }
+
output_step_end("post-metadata");
return true;
}