summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-05 17:46:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-05 17:46:12 +0000
commit3e52930a8ef9566d22e23d44a103a3d2e95968c8 (patch)
tree62d1538c76961f1e94514d6a195c2afb2f7e16c7 /etc
parent1ef6e981a334ebdb15cc1e6fd8b035a4f910e631 (diff)
downloadpfsense-3e52930a8ef9566d22e23d44a103a3d2e95968c8.zip
pfsense-3e52930a8ef9566d22e23d44a103a3d2e95968c8.tar.gz
Add "embedded" platform check
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 8d1fb67..5cb7a60 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -293,7 +293,8 @@ function conf_mount_rw() {
/* if the platform is soekris or wrap or pfSense, lets mount the
* compact flash cards root.
*/
- if($g['platform'] == "wrap" or $g['platform'] == "net45xx") {
+ if($g['platform'] == "wrap" or $g['platform'] == "net45xx"
+ or $g['platform'] == "embedded") {
mwexec("/sbin/umount -f /");
$status = mwexec("/sbin/mount -w /");
/* we could not mount this correctly. kick off fsck */
@@ -325,7 +326,8 @@ function conf_mount_ro() {
/* if the platform is soekris or wrap, lets unmount the
* compact flash card.
*/
- if($g['platform'] == "wrap" or $g['platform'] == "net45xx") {
+ if($g['platform'] == "wrap" or $g['platform'] == "net45xx"
+ or $g['platform'] == "embedded") {
mwexec("/sbin/umount -f /");
mwexec("/sbin/mount -f -r /");
}
OpenPOWER on IntegriCloud