diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2016-11-24 16:43:04 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2016-11-24 16:43:04 -0500 |
commit | 73f3bf0ef1a764453cfab59df6e9d651f97a28d1 (patch) | |
tree | fd284c614ffa961a6f35bd3907f6e580a4f1ab54 /nonprism-testing/icedove-hardened-preferences/icedove-hardened.sh | |
parent | 87e0719bac79986c44d5c13e5c77dc92a9e1f966 (diff) |
hardened scripts ready for release!
Diffstat (limited to 'nonprism-testing/icedove-hardened-preferences/icedove-hardened.sh')
-rwxr-xr-x | nonprism-testing/icedove-hardened-preferences/icedove-hardened.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/nonprism-testing/icedove-hardened-preferences/icedove-hardened.sh b/nonprism-testing/icedove-hardened-preferences/icedove-hardened.sh deleted file mode 100755 index 919c1c75e..000000000 --- a/nonprism-testing/icedove-hardened-preferences/icedove-hardened.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -############################################## -# IceDove-Hardened Jail and Cleaner Script # -############################################## -echo "Closing any other instances of IceDove to avoid crashes..." -pkill -x icedove -wait -echo "Copying Hardened Prefs..." -cp /usr/lib/icedove/defaults/preferences/icedove-branding.js /usr/lib/icedove/defaults/preferences/thunderbird-branding.js -wait -echo "Waking the IceDove..." - -# Trap cleaner function for IceDove exit cleaning -function finish { -echo "Removing hardened preferences..." -echo "" > /usr/lib/icedove/defaults/preferences/thunderbird-branding.js - } - -## Firejail IceDove startup -/usr/bin/firejail --profile=/etc/firejail/icedove.profile --private-bin=bash,gpg2,icedove --private-tmp --private-etc=nsswitch.conf,resolv.conf --private-dev --nogroups /usr/bin/icedove - -## Exiting IceDove triggers the trap -trap finish EXIT
\ No newline at end of file |