diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-05-06 17:03:30 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-08-06 14:08:33 +1000 |
commit | acc5ace6e58db2f3dceb1f7a27d0fc1fb29c4a27 (patch) | |
tree | d5577259029ad08d93de57e0a3560b6271627e8a /lib/types/types.h | |
parent | 79bfd11f662fcf46bd4ae58a0aab993cbe158dbe (diff) | |
download | talos-petitboot-acc5ace6e58db2f3dceb1f7a27d0fc1fb29c4a27.tar.gz talos-petitboot-acc5ace6e58db2f3dceb1f7a27d0fc1fb29c4a27.zip |
Make read-only guarantee user-settable
Create a new Petitboot option 'petitboot,write?' that specifies whether
the system is allowed to mount devices read-write. The option can be
toggled by the user in the nc-config screen.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r-- | lib/types/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h index e5c7e3e..f7e4752 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -146,6 +146,8 @@ struct config { unsigned int ipmi_bootdev; bool ipmi_bootdev_persistent; + bool allow_writes; + char *lang; /* not user-settable */ |