summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-16 15:54:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-16 15:54:10 +0000
commit895ecb3525bdfb9f445eba6d73797ce573ada030 (patch)
tree7b2edc52cd455ec615b71e30541416f895601c13 /etc/rc
parent594c28ce9b5e8a9411e096284ec1ed191c5a1abe (diff)
downloadpfsense-895ecb3525bdfb9f445eba6d73797ce573ada030.zip
pfsense-895ecb3525bdfb9f445eba6d73797ce573ada030.tar.gz
Ensure symlink is correct on compact flash / embedded platforms
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 2bdf8a1..ba5526c 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud