summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-03-18 09:02:43 -0300
committerRenato Botelho <renato@netgate.com>2016-03-18 09:02:43 -0300
commitc471c102c889e70b0358287b60a66ab1b075422a (patch)
treefa9ce413cddc71427c248457f1aac23a5bf6631b
parent7076def1489447eb62a1403dc160063153cb88f7 (diff)
downloadpfsense-c471c102c889e70b0358287b60a66ab1b075422a.zip
pfsense-c471c102c889e70b0358287b60a66ab1b075422a.tar.gz
Remove stray - from default-config flavor
-rw-r--r--tools/templates/core_pkg/default-config-serial/metadir/+INSTALL3
-rw-r--r--tools/templates/core_pkg/default-config/metadir/+INSTALL3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL b/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL
index 537e193..ce7b853 100644
--- a/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL
+++ b/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL
@@ -16,6 +16,7 @@ if [ ! -d /cf/conf/backup ]; then
mkdir /cf/conf/backup
fi
-echo "%%FLAVOR%%" > /etc/default-config-flavor
+FLAVOR="%%FLAVOR%%"
+echo ${FLAVOR##-} > /etc/default-config-flavor
exit 0
diff --git a/tools/templates/core_pkg/default-config/metadir/+INSTALL b/tools/templates/core_pkg/default-config/metadir/+INSTALL
index 537e193..ce7b853 100644
--- a/tools/templates/core_pkg/default-config/metadir/+INSTALL
+++ b/tools/templates/core_pkg/default-config/metadir/+INSTALL
@@ -16,6 +16,7 @@ if [ ! -d /cf/conf/backup ]; then
mkdir /cf/conf/backup
fi
-echo "%%FLAVOR%%" > /etc/default-config-flavor
+FLAVOR="%%FLAVOR%%"
+echo ${FLAVOR##-} > /etc/default-config-flavor
exit 0
OpenPOWER on IntegriCloud