feat(profiles): general update.
This commit is contained in:
parent
c039fe6c99
commit
0e21955b0e
10 changed files with 48 additions and 44 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}sbin/wpa_action
|
||||
@{exec_path} = /{usr/,}{s,}bin/wpa_action
|
||||
profile wpa-action @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
|
|
@ -16,27 +16,26 @@ profile wpa-action @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}sbin/wpa_cli rPx,
|
||||
/{usr/,}{s,}bin/wpa_cli rPx,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/logger rix,
|
||||
/{usr/,}bin/ln rix,
|
||||
/{usr/,}sbin/ifup rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/ip rix,
|
||||
/{usr/,}bin/{,e}grep rix,
|
||||
/{usr/,}bin/cat rix,
|
||||
/{usr/,}bin/date rix,
|
||||
/{usr/,}bin/ip rix,
|
||||
/{usr/,}bin/ln rix,
|
||||
/{usr/,}bin/logger rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}sbin/ifup rix,
|
||||
|
||||
/etc/wpa_supplicant/{,**} r,
|
||||
/etc/network/interfaces r,
|
||||
/etc/network/interfaces.d/{,*} r,
|
||||
|
||||
owner @{run}/wpa_action.wlan[0-9]*.ifupdown rw,
|
||||
owner @{run}/wpa_action.wlan[0-9]*.timestamp rw,
|
||||
owner @{run}/network/ifstate.wlan[0-9]* rwk,
|
||||
owner @{run}/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan[0-9]*.pid rw,
|
||||
|
||||
/etc/network/interfaces r,
|
||||
/etc/network/interfaces.d/{,*} r,
|
||||
|
||||
include if exists <local/wpa-action>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue