Project

General

Profile

« Previous | Next » 

Revision d5cfa74b

Added by Scott Ullrich over 18 years ago

Enable hidden option in system called enablesoftupdates which will turn on soft updates before mounting rw

View differences:

etc/inc/config.inc
376 376
	if($g['platform'] == "cdrom" or $g['platform'] == "pfSense")
377 377
		return;
378 378

  
379
	if(isset($config['system']['enablesoftupdates'])) 
380
		exec("/sbin/tunefs -n enable / 2>/dev/null");
381
		
379 382
	$status = mwexec("/sbin/mount -u -w {$g['cf_path']}");
380 383
	if($status <> 0) {
381 384
		if($g['booting'])

Also available in: Unified diff