From 3deb916aa0e417599959cd4ebb5871e445805121 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 8 Apr 2006 18:42:03 +0000 Subject: [PATCH] Install RRD symlink if on correct platform --- etc/rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/rc b/etc/rc index 9aff70cd64..10902dfe72 100755 --- a/etc/rc +++ b/etc/rc @@ -83,6 +83,12 @@ if [ ! -L /etc/syslog.conf ]; then ln -s /var/etc/syslog.conf /etc/syslog.conf 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