summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc6
1 files changed, 6 insertions, 0 deletions
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
OpenPOWER on IntegriCloud