summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-19 01:44:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-19 01:44:43 +0000
commit6cfaca8c0f162b830483644291372cfd3b34703b (patch)
tree760247889604c6f84f865c0eb56035f3e431459e /etc/rc
parent55be00bf780c93d24ab7f0b87d6e064dfdfeedcb (diff)
downloadpfsense-6cfaca8c0f162b830483644291372cfd3b34703b.zip
pfsense-6cfaca8c0f162b830483644291372cfd3b34703b.tar.gz
Create symlink if pfi didnt find the location
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index ac556f2..2490c33 100755
--- a/etc/rc
+++ b/etc/rc
@@ -71,7 +71,9 @@ fi
[ ! -d /cf/conf/backup/ ] || mkdir -p /cf/conf/backup/ 2>/dev/null
if [ "$PLATFORM" = "cdrom" ]; then
- [ ! -L /conf ] || /rescue/ln -s /cf/conf /conf
+ if [ ! -L /conf ]; then
+ /rescue/ln -s /cf/conf /conf
+ fi
[ ! -f /cf/conf/config.xml ] || /rescue/cp /FreeSBIE/cf/conf/config.xml /cf/conf/
[ ! -f /cf/conf/ez-ipupdate.cache ] || /rescue/cp /FreeSBIE/cf/conf/ez-ipupdate.cache /cf/conf/
mkdir /var/db/
OpenPOWER on IntegriCloud