| Line 1... | 
            Line 1... | 
          
          
            | 1 | 
            #!/bin/bash
  | 
            1 | 
            #!/bin/bash
  | 
          
          
            | 2 | 
            # $Id: alcasar-urpmi.sh 2840 2020-06-27 22:35:40Z rexy $
  | 
            2 | 
            # $Id: alcasar-urpmi.sh 2850 2020-07-15 22:24:44Z rexy $
  | 
          
          
            | 3 | 
             
  | 
            3 | 
             
  | 
          
          
            | 4 | 
            # alcasar-urpmi.sh
  | 
            4 | 
            # alcasar-urpmi.sh
  | 
          
          
            | 5 | 
            # by 3abtux and Rexy
  | 
            5 | 
            # by 3abtux and Rexy
  | 
          
          
            | 6 | 
            # This script is distributed under the Gnu General Public License (GPL)
  | 
            6 | 
            # This script is distributed under the Gnu General Public License (GPL)
  | 
          
          
            | 7 | 
             
  | 
            7 | 
             
  | 
          
          
            | Line 15... | 
            Line 15... | 
          
          
            | 15 | 
            KERNEL="kernel-server-5.6.14-2.mga7-1-1.mga7"
  | 
            15 | 
            KERNEL="kernel-server-5.6.14-2.mga7-1-1.mga7"
  | 
          
          
            | 16 | 
            # ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
  | 
            16 | 
            # ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
  | 
          
          
            | 17 | 
            # (old) perl-Socket6 : needed by nfsen
  | 
            17 | 
            # (old) perl-Socket6 : needed by nfsen
  | 
          
          
            | 18 | 
            # "fonts-dejavu-common" & "fonts-ttf-dejavu" : fonts needed by wkhtmltopdf
  | 
            18 | 
            # "fonts-dejavu-common" & "fonts-ttf-dejavu" : fonts needed by wkhtmltopdf
  | 
          
          
            | 19 | 
            # "lsscsi" & nvme-cli" : needed by phpsysinfo
  | 
            19 | 
            # "lsscsi" & nvme-cli" : needed by phpsysinfo
  | 
          
          
            | 20 | 
            PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm php-gd php-ldap php-mysqli php-mbstring php-sockets php-curl php-pdo_sqlite php-cli php-rrd unbound e2guardian postfix mariadb ntp bind-utils openssh-server rng-utils rsync clamd fail2ban gnupg2 ulogd pm-fallback-policy ipset usb_modeswitch vnstat dos2unix p7zip msec kernel-userspace-headers kernel-firmware-nonfree dnsmasq dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli"
  | 
            20 | 
            PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm php-gd php-ldap php-mysqli php-mbstring php-sockets php-curl php-pdo_sqlite php-cli php-rrd unbound e2guardian postfix mariadb ntp bind-utils openssh-server rng-utils rsync clamd fail2ban gnupg2 ulogd pm-fallback-policy ipset usb_modeswitch vnstat dos2unix p7zip msec kernel-userspace-headers kernel-firmware-nonfree dnsmasq dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli sudo"
  | 
          
          
            | 21 | 
             
  | 
            21 | 
             
  | 
          
          
            | 22 | 
            rpm_repository_sync ()
  | 
            22 | 
            rpm_repository_sync ()
  | 
          
          
            | 23 | 
            {
  | 
            23 | 
            {
  | 
          
          
            | 24 | 
            cat <<EOF > /etc/urpmi/urpmi.cfg
  | 
            24 | 
            cat <<EOF > /etc/urpmi/urpmi.cfg
  | 
          
          
            | 25 | 
            {
  | 
            25 | 
            {
  |