Linux_frogg-profile.d/config/config_conf.sh

50 lines
1.0 KiB
Bash

#!/bin/bash
# shellcheck disable=SC2034
#region JSON
CONF_LIST_CONFIG_JSON=$(cat <<EOF
[
{
"section": "SYSTEM",
"items": [
{"label": "Env vars", "cmd": "/etc/environment"},
]
},
{
"section": "APACHE",
"items": [
{"label": "Websites folder", "cmd": "/var/www/", "bin": "apache2"},
{"label": "Apache config", "cmd": "/etc/apache2/", "bin": "apache2"}
]
},
{
"section": "PHP",
"items": [
{"label": "CLI config", "cmd": "/etc/php/*/cli/php.ini", "bin": "php"},
{"label": "Apache config", "cmd": "/etc/php/*/apache2/php.ini", "bin": "php"}
]
},
{
"section": "MYSQL",
"items": [
{"label": "Mysql config", "cmd": "/etc/mysql/my.cnf", "bin": "mysql"}
]
},
{
"section": "TOOLS",
"items": [
{"label": "Zabbix agent", "cmd": "/etc/zabbix/zabbix-agent.conf", "bin": "zabbix-agent"}
]
},
{
"section": "CUSTOM",
"items": [
{"label": "Login message", "cmd": "/etc/profile.d/777-welcome.sh"}
]
}
]
EOF
)
#endregion