diff options
-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); |