-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration.sh
46 lines (41 loc) · 1.19 KB
/
configuration.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
#------------------------#
# Version
#------------------------#
VERSION="1.1.5.04.01.2025"
#------------------------#
# Users
#------------------------#
LOCAL_USER=$USER
SUDO_USER=$SUDO_USER
#------------------------#
# Logfiles
#------------------------#
USER_LOG_FOLDER=".stop-sauron"
USER_LOG_FILE="debug.log"
PLIST_DEAMON_CONF="plist-deamon.backup.conf"
PLIST_DEAMON_BACKUP="plist-deamon.backup.conf.bak"
PLIST_AGENT_CONF="plist-agent.backup.conf"
PLIST_AGENT_BACKUP="plist-agent.backup.conf.bak"
#------------------------#
# Plist paths
#------------------------#
plistPathArray=(
# "~/Library/LaunchAgents" # Per-user agents provided by the user.
"/Library/LaunchAgents" # Per-user agents provided by the administrator.
"/Library/LaunchDaemons" # System wide daemons provided by the administrator.
"/System/Library/LaunchAgents" # Mac OS X Per-user agents.
"/System/Library/LaunchDaemons" # Mac OS X System wide daemons.
)
#------------------------#
# Software packages
#------------------------#
applicationsArray=(
"com.airwatch"
"com.fireeye"
"com.mcafee"
"com.zscaler"
"com.cylance"
"com.crowdstrike"
"com.rapid7"
)