Remove syncthing tunable_policy.
kernel_read_network_state already give syncthing to get route information. Backup plan with ifconfig does not required.
This commit is contained in:
parent
8b2add4140
commit
972654cf09
|
@ -5,14 +5,6 @@ policy_module(syncthing, 1.1.0)
|
||||||
# Declarations
|
# Declarations
|
||||||
#
|
#
|
||||||
|
|
||||||
## <desc>
|
|
||||||
## <p>
|
|
||||||
## Determine whether syncthing can
|
|
||||||
## run ifconfig/iproute2 to find gateway.
|
|
||||||
## </p>
|
|
||||||
## </desc>
|
|
||||||
gen_tunable(syncthing_can_run_ifconfig, false)
|
|
||||||
|
|
||||||
attribute_role syncthing_roles;
|
attribute_role syncthing_roles;
|
||||||
role syncthing_roles types syncthing_t;
|
role syncthing_roles types syncthing_t;
|
||||||
|
|
||||||
|
@ -78,6 +70,3 @@ optional_policy(`
|
||||||
networkmanager_read_pid_files(syncthing_t)
|
networkmanager_read_pid_files(syncthing_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
tunable_policy(`syncthing_can_run_ifconfig',`
|
|
||||||
sysnet_domtrans_ifconfig(syncthing_t)
|
|
||||||
')
|
|
||||||
|
|
Loading…
Reference in New Issue