diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-22 23:53:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-22 23:53:01 +0000 |
commit | 539cf2d675b9510cfff01378aefbec40afe81bd3 (patch) | |
tree | b9976fa8a58237d76f15c1fde0808d5d5151b135 /etc | |
parent | 2a3ec646bbb2fc3d77ab2ee0ef9ba89b847a755d (diff) | |
download | pfsense-539cf2d675b9510cfff01378aefbec40afe81bd3.zip pfsense-539cf2d675b9510cfff01378aefbec40afe81bd3.tar.gz |
Make sure and populate /conf.default
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.cdrom | 12 |
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/ |