diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-08 20:06:38 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-08 20:06:38 +0000 |
commit | 14971cfa6f260b4be6e42b8cdee1246b210b5c28 (patch) | |
tree | d62d956d57219be3d1e27de462a4fc296a8d084e | |
parent | 7a475a473ea3796814f2c024dbc3fa7203e69231 (diff) | |
download | pfsense-14971cfa6f260b4be6e42b8cdee1246b210b5c28.zip pfsense-14971cfa6f260b4be6e42b8cdee1246b210b5c28.tar.gz |
Test on the file config.xml, not the directory.
-rwxr-xr-x | etc/rc.cdrom | 2 |
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/ |