Fix text domain, harden configs

master
Mikhail Novosyolov 3 years ago
parent 1f3bbee94e
commit ab3073619f

@ -9,6 +9,12 @@ else
source /usr/share/linux-infosec-setupper/common.sh source /usr/share/linux-infosec-setupper/common.sh
fi fi
TEXTDOMAIN=linux-infosec-setupper-back_auditd
# make temporary files not accessible to non-root
# like auditd config is not accessible
umask 0077
# $1 - action # $1 - action
# $2 - param name # $2 - param name
_audit_action_config(){ _audit_action_config(){

@ -21,9 +21,6 @@ error() {
echo '' 1>&2 echo '' 1>&2
} }
# Translations
TEXTDOMAIN=linux-infosec-setupper
# detect running from git tree # detect running from git tree
if [ -f ./common.sh ] && [ -f "$0" ] if [ -f ./common.sh ] && [ -f "$0" ]
then then

Loading…
Cancel
Save