sysnetwork: Merge dhcpc_manage_samba tunable block with existing samba block.

This moves the existing samba_manage_config(dhcpc_t) that is not tunable
into the tunable block.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2021-01-28 11:30:40 -05:00
parent 5d29c35b89
commit 94e424aa9b
1 changed files with 10 additions and 13 deletions

View File

@ -182,18 +182,6 @@ ifdef(`init_systemd',`
init_search_units(dhcpc_t)
')
optional_policy(`
tunable_policy(`dhcpc_manage_samba',`
samba_manage_var_files(dhcpc_t)
init_exec_script_files(dhcpc_t)
init_get_system_status(dhcpc_t)
samba_stop(dhcpc_t)
samba_start(dhcpc_t)
samba_reload(dhcpc_t)
samba_status(dhcpc_t)
')
')
optional_policy(`
avahi_domtrans(dhcpc_t)
')
@ -250,7 +238,16 @@ optional_policy(`
')
optional_policy(`
tunable_policy(`dhcpc_manage_samba',`
samba_manage_config(dhcpc_t)
samba_manage_var_files(dhcpc_t)
init_exec_script_files(dhcpc_t)
init_get_system_status(dhcpc_t)
samba_stop(dhcpc_t)
samba_start(dhcpc_t)
samba_reload(dhcpc_t)
samba_status(dhcpc_t)
')
')
optional_policy(`