Project

General

Profile

« Previous | Next » 

Revision f699da52

Added by Scott Ullrich about 20 years ago

Do not mount as ro if we're booting.

View differences:

etc/inc/config.inc
262 262

  
263 263
/* mount flash card read only */
264 264
function conf_mount_ro() {
265
	global $g;
265
	global $g, $do_not_mount_ro;
266

  
267
	if($g['booting'] == true) return;
266 268

  
267 269
	mwexec("/sbin/umount -f {$g['cf_path']}");
268 270
	mwexec("/sbin/mount -r {$g['cf_path']}");

Also available in: Unified diff