3
  "   ˆl–ß=¿Jõ!®Å8 q§î2ژ´oÈƒ�;ÇÆ o    #!/usr/bin/sh
# This is a NetworkManager dispatcher script for chronyd to update
# its NTP sources with servers from DHCP options passed by NetworkManager
# in the DHCP4_NTP_SERVERS and DHCP6_DHCP6_NTP_SERVERS environment variables.

export LC_ALL=C

interface=$1
action=$2

[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
[ -f /etc/sysconfig/network-scripts/ifcfg-"${interface}" ] && \
    . /etc/sysconfig/network-scripts/ifcfg-"${interface}"

chronyc=/usr/bin/chronyc
server_options=${NTPSERVERARGS:-iburst}
server_dir=/run/chrony-dhcp

dhcp_server_file=$server_dir/$interface.sources
dhcp_ntp_servers="$DHCP4_NTP_SERVERS $DHCP6_DHCP6_NTP_SERVERS"

add_servers_from_dhcp() {
    rm -f "$dhcp_server_file"

    # Don't add NTP servers if PEERNTP=no specified; return early.
    [ "$PEERNTP" = "no" ] && return

    for server in $dhcp_ntp_servers; do
        # Check for invalid characters (from the DHCPv6 NTP FQDN suboption)
        len1=$(printf '%s' "$server" | wc -c)
        len2=$(printf '%s' "$server" | tr -d -c 'A-Za-z0-9:.-' | wc -c)
        if [ "$len1" -ne "$len2" ] || [ "$len2" -lt 1 ] || [ "$len2" -gt 255 ]; then
          continue
        fi

        printf 'server %s %s\n' "$server" "$server_options" >> "$dhcp_server_file"
    done
    $chronyc reload sources > /dev/null 2>&1 || :
}

clear_servers_from_dhcp() {
    if [ -f "$dhcp_server_file" ]; then
        rm -f "$dhcp_server_file"
        $chronyc reload sources > /dev/null 2>&1 || :
    fi
}

mkdir -p $server_dir

case "$action" in
    up|dhcp4-change|dhcp6-change)
        add_servers_from_dhcp;;
    down)
        clear_servers_from_dhcp;;
esac

exit 0
  /   ˆl–Ým_J	¥!¶e6 Y¸ۗ☴oÉƒ­¿_‹uÐb&=Ly¦�ÉÈ 
Ç    <?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/metalink4+xml">
  <!--Created automatically by update-mime-database. DO NOT EDIT!-->
  <comment>Metalink file</comment>
  <comment xml:lang="zh_TW">Metalink 檔案</comment>
  <comment xml:lang="zh_CN">Metalink 文件</comment>
  <comment xml:lang="uk">файл метапосилання</comment>
  <comment xml:lang="tr">Metalink dosyası</comment>
  <comment xml:lang="sv">Metalink-fil</comment>
  <comment xml:lang="sr">датотека метавезе</comment>
  <comment xml:lang="sl">Datoteka povezave Metalink</comment>
  <comment xml:lang="sk">Súbor Metalink</comment>
  <comment xml:lang="ru">Файл Metalink</comment>
  <comment xml:lang="ro">Fișier Metalink</comment>
  <comment xml:lang="pt_BR">Arquivo Metalink</comment>
  <comment xml:lang="pt">ficheiro Metalink</comment>
  <comment xml:lang="pl">Plik Metalink</comment>
  <comment xml:lang="oc">fichièr metalink</comment>
  <comment xml:lang="nl">Metalink bestand</comment>
  <comment xml:lang="lv">Metalink datne</comment>
  <comment xml:lang="lt">Metalink failas</comment>
  <comment xml:lang="ko">Metalink 파일</comment>
  <comment xml:lang="kk">Metalink файлы</comment>
  <comment xml:lang="ja">Metalink ファイル</comment>
  <comment xml:lang="it">File Metalink</comment>
  <comment xml:lang="id">Berkas Metalink</comment>
  <comment xml:lang="ia">File Metalink</comment>
  <comment xml:lang="hu">Metalink fájl</comment>
  <comment xml:lang="hr">Datoteka meta poveznice</comment>
  <comment xml:lang="he">קובץ Metalink</comment>
  <comment xml:lang="gl">ficheiro Metalink</comment>
  <comment xml:lang="ga">comhad Metalink</comment>
  <comment xml:lang="fur">file Metalink</comment>
  <comment xml:lang="fr">fichier metalink</comment>
  <comment xml:lang="fo">Metalink fíla</comment>
  <comment xml:lang="fi">Metalink-tiedosto</comment>
  <comment xml:lang="eu">Metaestekaren fitxategia</comment>
  <comment xml:lang="es">archivo de Metalink</comment>
  <comment xml:lang="eo">Metalink-dosiero</comment>
  <comment xml:lang="en_GB">Metalink file</comment>
  <comment xml:lang="el">Αρχείο Metalink</comment>
  <comment xml:lang="de">Metalink-Datei</comment>
  <comment xml:lang="da">Metahenvisningsf