Browse Source

Fix Issue with Comments within site.conf

Karsten Böddeker 9 years ago
parent
commit
a67a511aba

+ 1 - 1
ffho/ffho-banner/files/etc/banner.ffho

@@ -10,6 +10,6 @@
            https://youngage.eu/chat/?#ffho     (Chat)
 
   Deine FFHO-Werkzeuge:
-  - ffpb-debug        (Debug-Report für Unterstützung senden)
+  - ffho-debug        (Debug-Report für Unterstützung senden)
   - autoupdater -f    (Firmware-Update erzwingen) 
 

+ 1 - 1
ffho/ffho-config-mode-site-select/create-config.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 
-current_site="$(cat "$GLUON_SITEDIR"/site.conf | grep "site_code" | sed "s/site_code =//; s/,//")"
+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