summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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