diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-27 16:46:39 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-27 16:46:39 -0400 |
commit | ed88d0a8d3b77a6f0cb75c07792fe1c77e12ae77 (patch) | |
tree | 034e72b30c195c9270b2e4dd5c469ae09d2f32f2 /etc/inc/config.inc | |
parent | b250db6c6c2eb33ef85ee104b3661ed7dcd8acec (diff) | |
download | pfsense-ed88d0a8d3b77a6f0cb75c07792fe1c77e12ae77.zip pfsense-ed88d0a8d3b77a6f0cb75c07792fe1c77e12ae77.tar.gz |
Teach config about nanobsd
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r-- | etc/inc/config.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index ff2c04d..ec9b242 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -441,7 +441,7 @@ function conf_mount_rw() { * compact flash cards root. */ if($g['platform'] == "wrap" or $g['platform'] == "net45xx" - or $g['platform'] == "embedded") { + or $g['platform'] == "embedded" or $g['platform'] == "nanobsd") { $status = mwexec("/sbin/mount -u -w /"); /* we could not mount this correctly. kick off fsck */ if($status <> 0) { @@ -1076,7 +1076,7 @@ function write_config($desc="Unknown", $backup = true) { die("Unable to open {$g['cf_conf_path']}/config.xml for writing in write_config()\n"); } - if($g['platform'] == "embedded") { + if($g['platform'] == "embedded" or $g['platform'] == "nanobsd") { cleanup_backupcache(5); } else { cleanup_backupcache(30); |