summaryrefslogtreecommitdiffstats
path: root/etc/rc.cdrom
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-08 20:06:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-08 20:06:38 +0000
commit14971cfa6f260b4be6e42b8cdee1246b210b5c28 (patch)
treed62d956d57219be3d1e27de462a4fc296a8d084e /etc/rc.cdrom
parent7a475a473ea3796814f2c024dbc3fa7203e69231 (diff)
downloadpfsense-14971cfa6f260b4be6e42b8cdee1246b210b5c28.zip
pfsense-14971cfa6f260b4be6e42b8cdee1246b210b5c28.tar.gz
Test on the file config.xml, not the directory.
Diffstat (limited to 'etc/rc.cdrom')
-rwxr-xr-xetc/rc.cdrom2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.cdrom b/etc/rc.cdrom
index 01cf73f..cce7b04 100755
--- a/etc/rc.cdrom
+++ b/etc/rc.cdrom
@@ -12,7 +12,7 @@
# If PFI did not find a config, this will not be
# a directory. Go ahead and populate with stock
# configuration.
-if [ ! -f /cf/conf ]; then
+if [ ! -f /cf/conf/config.xml ]; then
mkdir -p /cf/conf
echo "Copying /FreeSBIE/cf/conf/* /cf/conf/"
/rescue/cp /FreeSBIE/cf/conf/* /cf/conf/
OpenPOWER on IntegriCloud