From d5d5364f2db7704380fd676d86bf3d695000e919 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 12 Oct 2009 18:52:48 -0400 Subject: Do not allow mounting of RO mode when the firmware update manual mode is engaged (RW) --- etc/inc/config.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc/inc') diff --git a/etc/inc/config.inc b/etc/inc/config.inc index dd8236b..7bbfa87 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -463,6 +463,10 @@ function conf_mount_ro() { if(file_exists($g['varrun_path'] . "/firmware.lock")) return; + /* Disk mounted RW (NanoBSD) */ + if(file_exists($g['varrun_path'] . "/fwup.enabled";)) + return; + /* do not umount if generating ssh keys */ if(file_exists("/tmp/keys_generating")) return; -- cgit v1.1