From 3deb916aa0e417599959cd4ebb5871e445805121 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 8 Apr 2006 18:42:03 +0000 Subject: Install RRD symlink if on correct platform --- etc/rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/rc') 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 -- cgit v1.1