/[smecontribs]/rpms/smeserver-migratehelper/contribs10/migratehelper.sh
ViewVC logotype

Diff of /rpms/smeserver-migratehelper/contribs10/migratehelper.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.8 by jcrisp, Sun Nov 14 13:58:14 2021 UTC Revision 1.12 by jpp, Tue Mar 7 04:38:34 2023 UTC
# Line 118  cat <<'EOF' >dir.list Line 118  cat <<'EOF' >dir.list
118  /etc/sudoers  /etc/sudoers
119  /root  /root
120  /home/e-smith/Maildir  /home/e-smith/Maildir
 /home/e-smith/home  
121  /home/e-smith/ssl.crt  /home/e-smith/ssl.crt
122  /home/e-smith/ssl.key  /home/e-smith/ssl.key
123  /home/e-smith/dkim_keys  /home/e-smith/dkim_keys
# Line 306  if [ -d /etc/fail2ban/filter.d ]; then Line 305  if [ -d /etc/fail2ban/filter.d ]; then
305    done    done
306  fi  fi
307  if [ -d /etc/fail2ban/jail.d ]; then  if [ -d /etc/fail2ban/jail.d ]; then
308    for F in $(/etc/fail2ban/jail.d/);do    for F in $(ls /etc/fail2ban/jail.d/);do
309      rpm -qf /etc/fail2ban/jail.d/$F >/dev/null 2>&1 || echo /etc/fail2ban/jail.d/$F >> dir.list      rpm -qf /etc/fail2ban/jail.d/$F >/dev/null 2>&1 || echo /etc/fail2ban/jail.d/$F >> dir.list
310    done    done
311  fi  fi
# Line 409  EOF Line 408  EOF
408  rpm -q smeserver-sme9admin >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-sme9admin >/dev/null 2>&1 && cat <<'EOF' >>dir.list
409  /var/lib/sme9admin/  /var/lib/sme9admin/
410  EOF  EOF
411    #softethernet
412    rpm -q softethervpn >/dev/null 2>&1 && cat <<'EOF' >>dir.list
413    /usr/vpnserver/vpn_server.config
414    /usr/vpnserver/backup.vpn_server.config
415    /usr/vpnserver/chain_certs
416    /usr/vpnserver/packet_log
417    /usr/vpnserver/security_log
418    /usr/vpnserver/server_log
419    EOF
420  #smeserver-sysmon  #smeserver-sysmon
421  rpm -q smeserver-sysmon >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-sysmon >/dev/null 2>&1 && cat <<'EOF' >>dir.list
422  /var/lib/rrd/  /var/lib/rrd/
# Line 436  EOF Line 444  EOF
444  rpm -q smeserver-webfilter >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-webfilter >/dev/null 2>&1 && cat <<'EOF' >>dir.list
445  /var/squidGuard/blacklists/  /var/squidGuard/blacklists/
446  EOF  EOF
447  #smeserver-webshares  #smeserver-webshare
448  rpm -q smeserver-webshares >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-webshare >/dev/null 2>&1 && cat <<'EOF' >>dir.list
449  /opt/webshare  /opt/webshare
450  EOF  EOF
451  # smeserver-zabbix-server smeserver-zabbix-agent smeserver-zabbix-proxy  # smeserver-zabbix-server smeserver-zabbix-agent smeserver-zabbix-proxy


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed