mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Enable hidden option in system called enablesoftupdates which will turn on soft updates before mounting rw
This commit is contained in:
parent
652b8ce061
commit
d5cfa74bf7
@ -376,6 +376,9 @@ function conf_mount_rw() {
|
||||
if($g['platform'] == "cdrom" or $g['platform'] == "pfSense")
|
||||
return;
|
||||
|
||||
if(isset($config['system']['enablesoftupdates']))
|
||||
exec("/sbin/tunefs -n enable / 2>/dev/null");
|
||||
|
||||
$status = mwexec("/sbin/mount -u -w {$g['cf_path']}");
|
||||
if($status <> 0) {
|
||||
if($g['booting'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user