diff options
author | zsdc <taras@vyos.io> | 2023-07-05 14:56:05 +0300 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2023-07-05 19:27:25 +0300 |
commit | d3ead28d1391f1102e6e89de119226557f3fcce3 (patch) | |
tree | 277dc7497ad36e1f91261197178bf40f5b2e810a /op-mode-definitions | |
parent | 5c1865487c5cf1bfb92ff873a97df4b129c9566f (diff) | |
download | vyos-1x-d3ead28d1391f1102e6e89de119226557f3fcce3.tar.gz vyos-1x-d3ead28d1391f1102e6e89de119226557f3fcce3.zip |
util: T1797: Optimized sysctl helpers
- modified `sysctl_read()` to return the whole value
- modified `sysctl_write()` logic to return `True` only in case a value was
changed successfully
- added `sysctl_apply()` to apply a dictionary of values at once
Diffstat (limited to 'op-mode-definitions')
0 files changed, 0 insertions, 0 deletions