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