Файловый менеджер - Редактировать - /home/barghamad/public_html/wp-includes/widgets/NetworkManager.tar
Назад
NetworkManager.conf 0000644 00000004317 15060333301 0010336 0 ustar 00 # Configuration file for NetworkManager. # # See "man 5 NetworkManager.conf" for details. # # The directories /usr/lib/NetworkManager/conf.d/ and /run/NetworkManager/conf.d/ # can contain additional .conf snippets installed by packages. These files are # read before NetworkManager.conf and have thus lowest priority. # The directory /etc/NetworkManager/conf.d/ can contain additional .conf # snippets. Those snippets are merged last and overwrite the settings from this main # file. # # The files within one conf.d/ directory are read in asciibetical order. # # You can prevent loading a file /usr/lib/NetworkManager/conf.d/NAME.conf # by having a file NAME.conf in either /run/NetworkManager/conf.d/ or /etc/NetworkManager/conf.d/. # Likewise, snippets from /run can be prevented from loading by placing # a file with the same name in /etc/NetworkManager/conf.d/. # # If two files define the same key, the one that is read afterwards will overwrite # the previous one. [main] #plugins=ifcfg-rh [logging] # When debugging NetworkManager, enabling debug logging is of great help. # # Logfiles contain no passwords and little sensitive information. But please # check before posting the file online. You can also personally hand over the # logfile to a NM developer to treat it confidential. Meet us on #nm on Libera.Chat. # # You can also change the log-level at runtime via # $ nmcli general logging level TRACE domains ALL # However, usually it's cleaner to enable debug logging # in the configuration and restart NetworkManager so that # debug logging is enabled from the start. # # You will find the logfiles in syslog, for example via # $ journalctl -u NetworkManager # # Please post full logfiles for bug reports without pre-filtering or truncation. # Also, for debugging the entire `journalctl` output can be interesting. Don't # limit unnecessarily with `journalctl -u`. Exceptions are if you are worried # about private data. Check before posting logfiles! # # Note that debug logging of NetworkManager can be quite verbose. Some messages # might be rate-limited by the logging daemon (see RateLimitIntervalSec, RateLimitBurst # in man journald.conf). Please disable rate-limiting before collecting debug logs! # #level=TRACE #domains=ALL dispatcher.d/20-chrony-onoffline 0000755 00000001423 15060333301 0012532 0 ustar 00 #!/bin/sh # This is a NetworkManager dispatcher / networkd-dispatcher script for # chronyd to set its NTP sources online or offline when a network interface # is configured or removed export LC_ALL=C chronyc=/usr/bin/chronyc # For NetworkManager consider only selected events if [ $# -ge 2 ]; then case "$2" in up|down|connectivity-change) ;; dhcp4-change|dhcp6-change) # Actions "up" and "connectivity-change" in some cases do not # guarantee that the interface has a route (e.g. a bond). # dhcp(x)-change handles at least cases that use DHCP. ;; *) exit 0;; esac fi # Note: for networkd-dispatcher routable.d ~= on and off.d ~= off $chronyc onoffline > /dev/null 2>&1 exit 0 dispatcher.d/20-chrony-dhcp 0000755 00000003355 15060333301 0011477 0 ustar 00 #!/bin/sh # This is a NetworkManager dispatcher script for chronyd to update # its NTP sources passed from DHCP options. Note that this script is # specific to NetworkManager-dispatcher due to use of the # DHCP4_NTP_SERVERS environment variable. export LC_ALL=C interface=$1 action=$2 helper=/usr/libexec/chrony-helper default_server_options=iburst server_dir=/run/chrony-helper dhcp_server_tmpfile=$server_dir/tmp-nm-dhcp.$interface dhcp_server_file=$server_dir/nm-dhcp.$interface # DHCP4_NTP_SERVERS is passed from DHCP options by NetworkManager. nm_dhcp_servers=$DHCP4_NTP_SERVERS [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network [ -f /etc/sysconfig/network-scripts/ifcfg-"${interface}" ] && \ . /etc/sysconfig/network-scripts/ifcfg-"${interface}" add_servers_from_dhcp() { rm -f "$dhcp_server_file" # Remove servers saved by the dhclient script before it detected NM. rm -f "/var/lib/dhclient/chrony.servers.$interface" # Don't add NTP servers if PEERNTP=no specified; return early. [ "$PEERNTP" = "no" ] && return # Create the directory with correct SELinux context. $helper create-helper-directory > /dev/null 2>&1 for server in $nm_dhcp_servers; do echo "$server ${NTPSERVERARGS:-$default_server_options}" >> "$dhcp_server_tmpfile" done [ -e "$dhcp_server_tmpfile" ] && mv "$dhcp_server_tmpfile" "$dhcp_server_file" $helper update-daemon > /dev/null 2>&1 || : } clear_servers_from_dhcp() { if [ -f "$dhcp_server_file" ]; then rm -f "$dhcp_server_file" $helper update-daemon > /dev/null 2>&1 || : fi } if [ "$action" = "up" ] || [ "$action" = "dhcp4-change" ]; then add_servers_from_dhcp elif [ "$action" = "down" ]; then clear_servers_from_dhcp fi exit 0
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка