diff --git a/ffho/ffho-config-mode-site-select/create-config.sh b/ffho/ffho-config-mode-site-select/create-config.sh deleted file mode 100644 index c5ff50d5a4e705dc6dccb3f587c7c313b930d935..0000000000000000000000000000000000000000 --- a/ffho/ffho-config-mode-site-select/create-config.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -current_site="$(cat "$GLUON_SITEDIR"/site.conf | grep -v "\-\-" | grep "site_code" | sed "s/site_code =//; s/,//")" - -echo "config site 'current'" >> "$DIR"/etc/config/currentsite -echo " option name"$current_site"" >> "$DIR"/etc/config/currentsite -echo "" >> "$DIR"/etc/config/currentsite diff --git a/ffho/ffho-config-mode-site-select/files/etc/config/currentsite b/ffho/ffho-config-mode-site-select/files/etc/config/currentsite new file mode 100644 index 0000000000000000000000000000000000000000..eb832440f662f58de7b2e90b453a1b023ffab197 --- /dev/null +++ b/ffho/ffho-config-mode-site-select/files/etc/config/currentsite @@ -0,0 +1,2 @@ +config site 'current' + option name 'default'