aboutsummaryrefslogtreecommitdiffstats
path: root/mketc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mketc.sh')
-rwxr-xr-xmketc.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/mketc.sh b/mketc.sh
index 8dbc72915..d9728f3c5 100755
--- a/mketc.sh
+++ b/mketc.sh
@@ -3,16 +3,6 @@
3# Copyright (C) 2014-2020 Firejail Authors 3# Copyright (C) 2014-2020 Firejail Authors
4# License GPL v2 4# License GPL v2
5 5
6rm -fr .etc
7mkdir .etc
8
9for file in etc/*.profile etc/*.inc etc/*.net;
10do
11 sed "s;/etc/firejail;$1/firejail;g" $file > .$file
12done
13
14if [ "x$2" = "xyes" ]
15then
16sed -i -e ' 6sed -i -e '
171i# Workaround for systems where common UNIX utilities are symlinks to busybox.\ 71i# Workaround for systems where common UNIX utilities are symlinks to busybox.\
18# If this is not your case you can remove --enable-busybox-workaround from\ 8# If this is not your case you can remove --enable-busybox-workaround from\
@@ -23,5 +13,4 @@ noblacklist \${PATH}/su\
23noblacklist \${PATH}/sudo\ 13noblacklist \${PATH}/sudo\
24noblacklist \${PATH}/nc\ 14noblacklist \${PATH}/nc\
25noblacklist \${PATH}/crontab\ 15noblacklist \${PATH}/crontab\
26' .etc/disable-common.inc 16' etc/disable-common.inc
27fi