diff options
Diffstat (limited to 'nonprism-testing/iceweasel-hardened-preferences/iceweasel-hardened.sh')
-rwxr-xr-x | nonprism-testing/iceweasel-hardened-preferences/iceweasel-hardened.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/nonprism-testing/iceweasel-hardened-preferences/iceweasel-hardened.sh b/nonprism-testing/iceweasel-hardened-preferences/iceweasel-hardened.sh deleted file mode 100755 index f17f7fa2d..000000000 --- a/nonprism-testing/iceweasel-hardened-preferences/iceweasel-hardened.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -############################################## -# IceWeasel-Hardened Jail and Cleaner Script # -############################################## -echo "Closing any other instances of IceWeasel to avoid crashes..." -pkill -x iceweasel -wait -echo "Copying Hardened Prefs..." -cp /usr/lib/iceweasel/browser/defaults/preferences/iceweasel-branding.js /usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js -wait -echo "Waking the IceWeasel..." - -# Trap cleaner function for IceWeasel exit cleaning -function finish { -echo "Removing hardened preferences..." -echo "" > /usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js - } - -## Firejail IceWeasel startup -/usr/bin/firejail --profile=/etc/firejail/firefox.profile --noroot --nogroups --caps.drop=all --private-etc=/etc/resolv.conf --private-bin=bash,iceweasel --private-tmp --private-dev /usr/bin/iceweasel --private-window - -## Exiting IceWeasel triggers the trap -trap finish EXIT
\ No newline at end of file |