diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-05 17:46:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-05 17:46:12 +0000 |
commit | 3e52930a8ef9566d22e23d44a103a3d2e95968c8 (patch) | |
tree | 62d1538c76961f1e94514d6a195c2afb2f7e16c7 | |
parent | 1ef6e981a334ebdb15cc1e6fd8b035a4f910e631 (diff) | |
download | pfsense-3e52930a8ef9566d22e23d44a103a3d2e95968c8.zip pfsense-3e52930a8ef9566d22e23d44a103a3d2e95968c8.tar.gz |
Add "embedded" platform check
-rw-r--r-- | etc/inc/config.inc | 6 |
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 /"); } |