From 6bab150e3dc7a36b1d138bec31c3ea2ce0283a5b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 7 Aug 2005 03:07:41 +0000 Subject: If /etc/syslog.conf is not a symlink then correct its behavior --- etc/rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/rc b/etc/rc index 07b7942..e786115 100755 --- a/etc/rc +++ b/etc/rc @@ -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 -- cgit v1.1