summaryrefslogtreecommitdiffstats
path: root/etc/rc.cdrom
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-22 23:53:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-22 23:53:01 +0000
commit539cf2d675b9510cfff01378aefbec40afe81bd3 (patch)
treeb9976fa8a58237d76f15c1fde0808d5d5151b135 /etc/rc.cdrom
parent2a3ec646bbb2fc3d77ab2ee0ef9ba89b847a755d (diff)
downloadpfsense-539cf2d675b9510cfff01378aefbec40afe81bd3.zip
pfsense-539cf2d675b9510cfff01378aefbec40afe81bd3.tar.gz
Make sure and populate /conf.default
Diffstat (limited to 'etc/rc.cdrom')
-rwxr-xr-xetc/rc.cdrom12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc.cdrom b/etc/rc.cdrom
index edb904e..b8a62f0 100755
--- a/etc/rc.cdrom
+++ b/etc/rc.cdrom
@@ -13,8 +13,8 @@
# a directory. Go ahead and populate with stock
# configuration.
if [ ! -f /cf/conf ]; then
- mkdir -p /cf/conf
- /rescue/cp /FreeSBIE/cf/conf/* /cf/conf/
+ mkdir -p /cf/conf
+ /rescue/cp /FreeSBIE/cf/conf/* /cf/conf/
fi
# If by this time /conf doesn't exist then lets
@@ -24,14 +24,14 @@ if [ ! -L /conf ]; then
fi
# Create factory default restore directory
-/bin/mkdir -p /conf.default/
+/bin/mkdir -p /conf.default/
# If the default config.xml and ez-ipupdate.cache do not exist,
# lets populate them from the default (factory configuration)
# files.
-[ ! -f /cf/conf/config.xml ] || /rescue/cp /FreeSBIE/cf/conf/config.xml /cf/conf/
-[ ! -f /conf.default/config.xml ] || /rescue/cp /FreeSBIE/conf.default/config.xml /conf.default/
-[ ! -f /cf/conf/ez-ipupdate.cache ] || /rescue/cp /FreeSBIE/cf/conf/ez-ipupdate.cache /cf/conf/
+/rescue/cp /FreeSBIE/cf/conf/config.xml /cf/conf/
+/rescue/cp /FreeSBIE/conf.default/config.xml /conf.default/config.xml
+/rescue/cp /FreeSBIE/cf/conf/ez-ipupdate.cache /cf/conf/
# Create some needed directories
/bin/mkdir -p /var/db/pkg/
OpenPOWER on IntegriCloud