/[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.7 by jcrisp, Sun Nov 14 12:47:20 2021 UTC Revision 1.11 by jpp, Thu Jun 16 17:54:08 2022 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 289  rpm -q smeserver-freepbx >/dev/null 2>&1 Line 288  rpm -q smeserver-freepbx >/dev/null 2>&1
288  /usr/sbin/amportal  /usr/sbin/amportal
289  /usr/sbin/fwconsole  /usr/sbin/fwconsole
290  EOF  EOF
291  # smeserver-fail2ban  # smeserver-fail2ban
292  if [ -d /etc/fail2ban/action.d ]; then  if [ -d /etc/fail2ban/action.d ]; then
293    for F in /etc/fail2ban/action.d/*; do    for F in $(ls /etc/fail2ban/action.d/);do
294      rpm -qf /etc/fail2ban/action.d/"$F" >/dev/null 2>&1 || echo /etc/fail2ban/action.d/"$F" >>dir.list      rpm -qf /etc/fail2ban/action.d/$F >/dev/null 2>&1 || echo /etc/fail2ban/action.d/$F >> dir.list
295    done    done
296  fi  fi
297  if [ -d /etc/fail2ban/fail2ban.d ]; then  if [ -d /etc/fail2ban/fail2ban.d ]; then
298    for F in /etc/fail2ban/fail2ban.d*; do    for F in $(ls /etc/fail2ban/fail2ban.d/);do
299      rpm -qf /etc/fail2ban/fail2ban.d/"$F" >/dev/null 2>&1 || echo /etc/fail2ban/fail2ban.d/"$F" >>dir.list      rpm -qf /etc/fail2ban/fail2ban.d/$F >/dev/null 2>&1 || echo /etc/fail2ban/fail2ban.d/$F >> dir.list
300    done    done
301  fi  fi
302  if [ -d /etc/fail2ban/filter.d ]; then  if [ -d /etc/fail2ban/filter.d ]; then
303    for F in /etc/fail2ban/filter.d/*; do    for F in $(ls /etc/fail2ban/filter.d/);do
304      rpm -qf /etc/fail2ban/filter.d/"$F" >/dev/null 2>&1 || echo /etc/fail2ban/filter.d/"$F" >>dir.list      rpm -qf /etc/fail2ban/filter.d/$F >/dev/null 2>&1 || echo /etc/fail2ban/filter.d/$F >> dir.list
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
312  rpm -q smeserver-grr >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-grr >/dev/null 2>&1 && cat <<'EOF' >>dir.list
# Line 436  EOF Line 435  EOF
435  rpm -q smeserver-webfilter >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-webfilter >/dev/null 2>&1 && cat <<'EOF' >>dir.list
436  /var/squidGuard/blacklists/  /var/squidGuard/blacklists/
437  EOF  EOF
438  #smeserver-webshares  #smeserver-webshare
439  rpm -q smeserver-webshares >/dev/null 2>&1 && cat <<'EOF' >>dir.list  rpm -q smeserver-webshare >/dev/null 2>&1 && cat <<'EOF' >>dir.list
440  /opt/webshare  /opt/webshare
441  EOF  EOF
442  # 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