mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Install RRD symlink if on correct platform
This commit is contained in:
parent
995f499f42
commit
3deb916aa0
6
etc/rc
6
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user