Skip to content
Snippets Groups Projects
Commit a3e42c1a authored by Karsten Böddeker's avatar Karsten Böddeker Committed by Michael Schwarz
Browse files

ffho-config-mode-site-select: Get rid of create-config.sh

parent fb075715
No related branches found
No related tags found
No related merge requests found
#!/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
config site 'current'
option name 'default'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment