summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-18 20:53:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-18 20:53:24 +0000
commit6edb31720ad67582fd689c989d1eae9b03c896d3 (patch)
tree565d3079c4bbc74226ac5768d4b9c50bb5cf55ca /etc/rc
parent976e130a92cd873ebcc54a0240eda9d2f4134b57 (diff)
downloadpfsense-6edb31720ad67582fd689c989d1eae9b03c896d3.zip
pfsense-6edb31720ad67582fd689c989d1eae9b03c896d3.tar.gz
If /cf/conf/ is empty then cp /FreeSBIE/cf/conf/*
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 02b6f84..478cb2e 100755
--- a/etc/rc
+++ b/etc/rc
@@ -71,6 +71,9 @@ fi
if [ "$PLATFORM" = "cdrom" ]; then
ln -s /cf/conf /conf
+ if [ ! -f /cf/conf/config.xml ]; then
+ cp /FreeSBIE/cf/conf/* /cf/conf/
+ fi
fi
set -T
OpenPOWER on IntegriCloud