summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2023-07-05 14:56:05 +0300
committerzsdc <taras@vyos.io>2023-07-05 19:27:25 +0300
commitd3ead28d1391f1102e6e89de119226557f3fcce3 (patch)
tree277dc7497ad36e1f91261197178bf40f5b2e810a /src/conf_mode
parent5c1865487c5cf1bfb92ff873a97df4b129c9566f (diff)
downloadvyos-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 'src/conf_mode')
0 files changed, 0 insertions, 0 deletions