salt.modules.sysrc

sysrc module for FreeBSD

salt.modules.sysrc.get(**kwargs)

Return system rc configuration variables

CLI Example:

salt '*' sysrc.get includeDefaults=True
salt.modules.sysrc.remove(name, **kwargs)

Remove system rc configuration variables

CLI Example:

salt '*' sysrc.remove name=sshd_enable
salt.modules.sysrc.set(name, value, **kwargs)

Set system rc configuration variables

CLI Example:

salt '*' sysrc.set name=sshd_flags value="-p 2222"