saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-08-10 11:58:05 +03:00
parent 2d84c3580c
commit b9d544b9c6
199 changed files with 5119 additions and 120 deletions

View File

@@ -57,6 +57,12 @@ is_prefix() {
}
check_directories() {
if [ -f "${script_dir}/.container-hostname" ]; then
NETDATA_USER_CONFIG_DIR="${script_dir}"
NETDATA_STOCK_CONFIG_DIR="/usr/lib/netdata/conf.d"
return
fi
if [ -e "${script_dir}/.environment" ]; then
OLDPATH="${PATH}"
# shellcheck disable=SC1091

View File

@@ -0,0 +1,21 @@
# Configuration for netdata-updater.sh script.
#
# When run non-interactively, the updater script will delay some
# random number of seconds up to NETDATA_UPDATER_JITTER before
# actually running the update. The default is 3600 (one
# hour). Most users should not need to change this.
#NETDATA_UPDATER_JITTER="3600"
# On systems using our native packages, the updater will by default
# attempt to install optional plugin packages that would be installed by
# default on clean installs if those packages are supported on the system.
#
# This behavior can be disabled on a per-package basis using the below
# variables. Setting the variable to a value other than 0 will disable
# the corresponding package (note that you still need to remove the package
# yourself if you don0t want it, this just controls whether the updater
# will try to ensure its installed or not).
#
# NETDATA_NO_SYSTEMD_JOURNAL controls the `netdata-plugin-systemd-journal`
# package, which provides the systemd journal plugin for Netdata.
#NETDATA_NO_SYSTEMD_JOURNAL="0"