diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2021-03-02 17:27:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 17:27:16 +0000 |
commit | c70d448c7f09037aece94e1e8ac5aaab0efa03d4 (patch) | |
tree | 80dbeb27c0e0c212b53ea1f2ef8263667ed5fe06 | |
parent | Merge pull request #4028 from glitsj16/archiver-common (diff) | |
parent | rename feh-network.inc (diff) | |
download | firejail-c70d448c7f09037aece94e1e8ac5aaab0efa03d4.tar.gz firejail-c70d448c7f09037aece94e1e8ac5aaab0efa03d4.tar.zst firejail-c70d448c7f09037aece94e1e8ac5aaab0efa03d4.zip |
Merge pull request #4029 from glitsj16/feh-network
Rename feh-network.inc
-rw-r--r-- | etc/inc/feh-network.inc | 4 | ||||
-rw-r--r-- | etc/profile-a-l/feh-network.profile | 8 | ||||
-rw-r--r-- | etc/profile-a-l/feh.profile | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/etc/inc/feh-network.inc b/etc/inc/feh-network.inc deleted file mode 100644 index e94e7205c..000000000 --- a/etc/inc/feh-network.inc +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | ignore net none | ||
2 | netfilter | ||
3 | protocol unix,inet,inet6 | ||
4 | private-etc ca-certificates,crypto-policies,hosts,pki,resolv.conf,ssl | ||
diff --git a/etc/profile-a-l/feh-network.profile b/etc/profile-a-l/feh-network.profile new file mode 100644 index 000000000..f35facd64 --- /dev/null +++ b/etc/profile-a-l/feh-network.profile | |||
@@ -0,0 +1,8 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include feh-network.local | ||
4 | |||
5 | ignore net none | ||
6 | netfilter | ||
7 | protocol unix,inet,inet6 | ||
8 | private-etc ca-certificates,crypto-policies,hosts,pki,resolv.conf,ssl | ||
diff --git a/etc/profile-a-l/feh.profile b/etc/profile-a-l/feh.profile index 8ac7755de..6d6287f7f 100644 --- a/etc/profile-a-l/feh.profile +++ b/etc/profile-a-l/feh.profile | |||
@@ -18,7 +18,7 @@ include disable-shell.inc | |||
18 | # This profile disables network access | 18 | # This profile disables network access |
19 | # In order to enable network access, | 19 | # In order to enable network access, |
20 | # uncomment the following or put it in your feh.local: | 20 | # uncomment the following or put it in your feh.local: |
21 | # include feh-network.inc | 21 | # include feh-network.profile |
22 | 22 | ||
23 | caps.drop all | 23 | caps.drop all |
24 | net none | 24 | net none |