Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow getting and setting config at different levels
Also add arguments to `Config.Set` RPC: * `level` (int, default: 9 [user]) - make changes at the given level. * `save` (bool, default: true) - save the changes * `try_once` (bool, default: false) - when saving, make the changes only apply on next boot. * `reboot` (bool, default: false) - reboot after saving. `Config.Save` is now optional and obsolete. Make `mos license` save to level 1 by default to avoid blowing away license on user config reset. CL: Allow getting and setting config at different levels PUBLISHED_FROM=16dd8c6059bf4e347e9df71ace4e955100510e6e
- Loading branch information
1 parent
cb7f5f1
commit 67ffee0
Showing
2 changed files
with
57 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters