summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-08 18:42:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-08 18:42:03 +0000
commit3deb916aa0e417599959cd4ebb5871e445805121 (patch)
tree32a41b6a3c39afc081e9979271da21fdb1294800 /etc/rc
parent995f499f42c95e6a534dadf203a8e6772a064ac1 (diff)
downloadpfsense-3deb916aa0e417599959cd4ebb5871e445805121.zip
pfsense-3deb916aa0e417599959cd4ebb5871e445805121.tar.gz
Install RRD symlink if on correct platform
Diffstat (limited to 'etc/rc')
-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