Add /etc/qubes path
This commit is contained in:
parent
a262574f85
commit
10aee73bd7
@ -64,9 +64,11 @@ class FirewallWorker(object):
|
||||
|
||||
def run_firewall_dir(self):
|
||||
'''Run scripts dir contents, before user script'''
|
||||
script_dir_path = '/rw/config/qubes-firewall.d'
|
||||
script_dir_paths = ['/etc/qubes/qubes-firewall.d',
|
||||
'/rw/config/qubes-firewall.d']
|
||||
for script_dir_path in script_dir_paths:
|
||||
if not os.path.isdir(script_dir_path):
|
||||
return
|
||||
continue
|
||||
for d_script in sorted(os.listdir(script_dir_path)):
|
||||
d_script_path = os.path.join(script_dir_path, d_script)
|
||||
if os.path.isfile(d_script_path) and \
|
||||
|
Loading…
Reference in New Issue
Block a user