mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Enable soft updates by default for everything but the root filesystem.
The user can still toggle it back off in the label editor (or post-install for that matter) if they explicitly do not want soft updates to be used for some reason. Agreed to be a good thing by: kirk
This commit is contained in:
parent
3c2a5d7e30
commit
f3c7fb1696
2 changed files with 2 additions and 2 deletions
|
|
@ -328,7 +328,7 @@ new_part(char *mpoint, Boolean newfs, u_long size)
|
|||
strcpy(ret->newfs_cmd, "newfs ");
|
||||
strcat(ret->newfs_cmd, variable_get(VAR_NEWFS_ARGS));
|
||||
ret->newfs = newfs;
|
||||
ret->soft = 0;
|
||||
ret->soft = strcmp(mpoint, "/") ? 1 : 0;
|
||||
if (!size)
|
||||
return ret;
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ new_part(char *mpoint, Boolean newfs, u_long size)
|
|||
strcpy(ret->newfs_cmd, "newfs ");
|
||||
strcat(ret->newfs_cmd, variable_get(VAR_NEWFS_ARGS));
|
||||
ret->newfs = newfs;
|
||||
ret->soft = 0;
|
||||
ret->soft = strcmp(mpoint, "/") ? 1 : 0;
|
||||
if (!size)
|
||||
return ret;
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue