summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 9aff70c..10902df 100755
--- a/etc/rc
+++ b/etc/rc
@@ -84,6 +84,12 @@ if [ ! -L /etc/syslog.conf ]; then
fi
# Repair symlinks if they are broken
+if [ ! -L /usr/local/www/rrd ]; then
+ rm -rf /usr/local/www/rrd
+ ln -s /var/db/rrd /usr/local/www/rrd
+fi
+
+# Repair symlinks if they are broken
if [ ! -L /etc/hosts ]; then
rm -rf /etc/hosts
ln -s /var/etc/hosts /etc/hosts
OpenPOWER on IntegriCloud