Ensure symlink is correct on compact flash / embedded platforms

This commit is contained in:
Scott Ullrich 2006-05-16 15:54:10 +00:00
parent 594c28ce9b
commit 895ecb3525

6
etc/rc
View File

@ -77,6 +77,12 @@ else
fi
echo " done."
# Make sure symlink is correct on embedded
if [ "$PLATFORM" = "embedded" ] ; then
rm /conf
ln -s /cf/conf/ /conf
fi
# Repair symlinks if they are broken
if [ ! -L /etc/syslog.conf ]; then
rm -rf /etc/syslog.conf