diff options
-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 |