Expand description
Helpers for the optional doas persist setup wizard.
Constants§
- DOAS_
PERSIST_ INSTRUCTION_ VIEWPORT_ LINES - Visible instruction lines in the doas persist wizard (scroll viewport height).
Functions§
- doas_
conf_ has_ persist_ rule - What: Check whether a parsed
doas.confbody has at least one activepermit persistrule. - doas_
persist_ instruction_ lines - What: Build scrollable instruction lines for the doas persist setup wizard.
- doas_
persist_ snippet - What: Build a recommended
doas.confpersist snippet for the selected profile. - pacsea_
doas_ persist_ configured - What: Detect whether the system
doas.confappears configured with a persist rule. - validation_
commands - What: Build shell commands for validating doas policy configuration.