Rearrange distro blocks in init.fc
This commit is contained in:
parent
f40d6d4915
commit
0233fc5126
|
@ -21,6 +21,15 @@ ifdef(`distro_gentoo',`
|
||||||
#
|
#
|
||||||
/dev/initctl -p gen_context(system_u:object_r:initctl_t,s0)
|
/dev/initctl -p gen_context(system_u:object_r:initctl_t,s0)
|
||||||
|
|
||||||
|
#
|
||||||
|
# /lib
|
||||||
|
#
|
||||||
|
ifdef(`distro_gentoo', `
|
||||||
|
/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
||||||
|
/lib32/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
||||||
|
/lib64/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
||||||
|
')
|
||||||
|
|
||||||
#
|
#
|
||||||
# /sbin
|
# /sbin
|
||||||
#
|
#
|
||||||
|
@ -48,16 +57,16 @@ ifdef(`distro_gentoo', `
|
||||||
#
|
#
|
||||||
# /var
|
# /var
|
||||||
#
|
#
|
||||||
ifdef(`distro_gentoo', `
|
|
||||||
/var/lib/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
|
||||||
/var/run/svscan\.pid -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
||||||
')
|
|
||||||
|
|
||||||
/var/run/utmp -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/utmp -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
/var/run/runlevel\.dir gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/runlevel\.dir gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
/var/run/random-seed -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/random-seed -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
/var/run/setmixer_flag -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/setmixer_flag -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
|
|
||||||
|
ifdef(`distro_gentoo', `
|
||||||
|
/var/lib/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
||||||
|
/var/run/svscan\.pid -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
|
')
|
||||||
|
|
||||||
ifdef(`distro_suse', `
|
ifdef(`distro_suse', `
|
||||||
/var/run/bootsplashctl -p gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/bootsplashctl -p gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
/var/run/keymap -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/keymap -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
|
@ -65,12 +74,3 @@ ifdef(`distro_suse', `
|
||||||
/var/run/setleds-on -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/setleds-on -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
/var/run/sysconfig(/.*)? gen_context(system_u:object_r:initrc_var_run_t,s0)
|
/var/run/sysconfig(/.*)? gen_context(system_u:object_r:initrc_var_run_t,s0)
|
||||||
')
|
')
|
||||||
|
|
||||||
#
|
|
||||||
# /lib
|
|
||||||
#
|
|
||||||
ifdef(`distro_gentoo', `
|
|
||||||
/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
|
||||||
/lib32/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
|
||||||
/lib64/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
|
||||||
')
|
|
||||||
|
|
Loading…
Reference in New Issue