diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-07 03:07:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-07 03:07:41 +0000 |
commit | 6bab150e3dc7a36b1d138bec31c3ea2ce0283a5b (patch) | |
tree | dcff7160bec5c5a6a90123ac5ce4fde078a87384 /etc | |
parent | 9c4189989933e4d45e42897ae3995dfa86ae364b (diff) | |
download | pfsense-6bab150e3dc7a36b1d138bec31c3ea2ce0283a5b.zip pfsense-6bab150e3dc7a36b1d138bec31c3ea2ce0283a5b.tar.gz |
If /etc/syslog.conf is not a symlink then correct its behavior
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -53,6 +53,12 @@ if [ ! "$PLATFORM" = "cdrom" ]; then fi # Repair symlinks if they are broken +if [ ! -L /etc/syslog.conf ]; then + rm -rf /etc/syslog.conf + ln -s /var/etc/syslog.conf /etc/syslog.conf +fi + +# Repair symlinks if they are broken if [ ! -L /etc/hosts ]; then rm -rf /etc/hosts ln -s /var/etc/hosts /etc/hosts |