Install RRD symlink if on correct platform

This commit is contained in:
Scott Ullrich 2006-04-08 18:42:03 +00:00
parent 995f499f42
commit 3deb916aa0

6
etc/rc
View File

@ -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