summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index f128941..7318f75 100755
--- a/etc/rc
+++ b/etc/rc
@@ -57,7 +57,8 @@ if [ ! "$PLATFORM" = "cdrom" ] ; then
# to /cf/conf
if [ -d "/conf" ]; then
# If item is not a symlink then rm and recreate
- if ! test -L /conf; then
+ CONFPOINTSTO=`readlink /conf`
+ if ! test "x$CONFPOINTSTO" = "x/cf/conf"; then
rm -rf /conf
ln -s /cf/conf /conf
fi
OpenPOWER on IntegriCloud