app-layer setup scripts: enable new modules on copy

The templates are disabled by default, enable the copy
of the template so the new app-layer modules are enabled by
by default.
pull/1699/head
Jason Ish 10 years ago committed by Victor Julien
parent 9697a09d21
commit dc2c896781

@ -34,9 +34,11 @@ function copy_template_file() {
echo "Creating ${dst}."
sed -e "s/TEMPLATE/${protoname_upper}/g" \
sed -e '/TEMPLATE_START_REMOVE/,/TEMPLATE_END_REMOVE/d' \
-e "s/TEMPLATE/${protoname_upper}/g" \
-e "s/template/${protoname_lower}/g" \
-e "s/Template/${protoname}/g" > ${dst} < ${src}
-e "s/Template/${protoname}/g" \
> ${dst} < ${src}
}
function copy_templates() {

@ -38,9 +38,11 @@ function copy_template_file() {
echo "Creating ${dst}."
sed -e "s/TEMPLATE/${protoname_upper}/g" \
sed -e '/TEMPLATE_START_REMOVE/,/TEMPLATE_END_REMOVE/d' \
-e "s/TEMPLATE/${protoname_upper}/g" \
-e "s/template/${protoname_lower}/g" \
-e "s/Template/${protoname}/g" > ${dst} < ${src}
-e "s/Template/${protoname}/g" \
> ${dst} < ${src}
}
function copy_templates() {

@ -37,9 +37,11 @@ function copy_template_file() {
echo "Creating ${dst}."
sed -e "s/TEMPLATE/${protoname_upper}/g" \
sed -e '/TEMPLATE_START_REMOVE/,/TEMPLATE_END_REMOVE/d' \
-e "s/TEMPLATE/${protoname_upper}/g" \
-e "s/template/${protoname_lower}/g" \
-e "s/Template/${protoname}/g" > ${dst} < ${src}
-e "s/Template/${protoname}/g" \
> ${dst} < ${src}
}
function copy_app_layer_templates {

Loading…
Cancel
Save