Project

General

Profile

« Previous | Next » 

Revision 5aa8f8c7

Added by Scott Ullrich about 20 years ago

Make sure we dont overwrite mounted pfi media which contains config.xml.

DOH!

View differences:

etc/rc.cdrom
29 29
# If the default config.xml and ez-ipupdate.cache do not exist,
30 30
# lets populate them from the default (factory configuration)
31 31
# files.
32
/rescue/cp /FreeSBIE/cf/conf/config.xml /cf/conf/
33
/rescue/cp /FreeSBIE/conf.default/config.xml /conf.default/config.xml
34
/rescue/cp /FreeSBIE/cf/conf/ez-ipupdate.cache /cf/conf/
32
if [ ! -f /cf/conf/config.xml ]; then
33
    /rescue/cp /FreeSBIE/cf/conf/config.xml /cf/conf/
34
fi
35
if [ ! -f /conf.default/config.xml ]; then
36
    /rescue/cp /FreeSBIE/conf.default/config.xml /conf.default/config.xml
37
fi
38
if [ ! -f /cf/conf/ez-ipupdate.cache ]; then
39
    /rescue/cp /FreeSBIE/cf/conf/ez-ipupdate.cache /cf/conf/ez-ipupdate.cache
40
fi
35 41

  
36 42
# Create some needed directories
37 43
/bin/mkdir -p /var/db/pkg/

Also available in: Unified diff