summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-04-14 13:06:13 +0000
committerErmal <eri@pfsense.org>2014-04-14 13:06:28 +0000
commite61f548f2ca406d1e89af2675d1dbe80e20a24fc (patch)
tree2a94738d0983ff928bbf013a4221e5a3114522c8 /etc/rc
parent115b7b81835df0aaf37f305042382911dd719245 (diff)
downloadpfsense-e61f548f2ca406d1e89af2675d1dbe80e20a24fc.zip
pfsense-e61f548f2ca406d1e89af2675d1dbe80e20a24fc.tar.gz
Get rid of embedded platform. Its time to GC this
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc15
1 files changed, 1 insertions, 14 deletions
diff --git a/etc/rc b/etc/rc
index d01b1a9..d3acd79 100755
--- a/etc/rc
+++ b/etc/rc
@@ -84,7 +84,7 @@ else
fi
USE_MFS_TMPVAR=`/usr/bin/grep -c use_mfs_tmpvar /cf/conf/config.xml`
- if [ "${PLATFORM}" = "nanobsd" ] || [ "${PLATFORM}" = "embedded" ] || [ ${USE_MFS_TMPVAR} -gt 0 ]; then
+ if [ "${PLATFORM}" = "nanobsd" ] || [ ${USE_MFS_TMPVAR} -gt 0 ]; then
/etc/rc.embedded
fi
fi
@@ -137,8 +137,6 @@ fi
if [ "$PLATFORM" = "cdrom" ] ; then
# do nothing for cdrom platform
-elif [ "$PLATFORM" = "embedded" ] ; then
- # do nothing for embedded platform
elif [ "$PLATFORM" = "nanobsd" ] || [ ${USE_MFS_TMPVAR} -gt 0 ]; then
# Ensure that old-style PKG packages can be persistent across reboots
/bin/mkdir -p /root/var/db/pkg
@@ -194,12 +192,6 @@ fi
/bin/rm -rf /var/tmp/*
echo -n "Creating symlinks..."
-# Make sure symlink is correct on embedded
-if [ "$PLATFORM" = "embedded" ] ; then
- /bin/rm /conf
- /bin/ln -s /cf/conf/ /conf
-fi
-
# Make sure symlink is correct on nanobsd
if [ "$PLATFORM" = "nanobsd" ] ; then
/bin/rm /conf
@@ -355,11 +347,6 @@ fi
/usr/local/sbin/php-fpm -c /usr/local/lib/php.ini -y /usr/local/lib/php-fpm.conf -RD 2>&1 >/dev/null
# Launch external configuration loader for supported platforms
-if [ "$PLATFORM" = "embedded" ]; then
- /usr/local/sbin/fcgicli -f /etc/ecl.php
-fi
-
-# Launch external configuration loader for supported platforms
if [ "$PLATFORM" = "nanobsd" ]; then
/usr/local/sbin/fcgicli -f /etc/ecl.php
fi
OpenPOWER on IntegriCloud