[BACK]Return to backup_config CVS log [TXT][DIR] Up to [local] / openbsd / backup_config

Diff for /openbsd/backup_config/backup_config between version 1.11 and 1.13

version 1.11, 2009/11/17 16:48:14 version 1.13, 2010/02/10 20:57:07
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: backup_config,v 1.10 2009/11/05 23:26:34 andrew Exp $  # $AFresh1: backup_config,v 1.11 2009/11/17 16:48:14 andrew Exp $
   
 if [ `id -u` -ne 0 ]; then  if [ `id -u` -ne 0 ]; then
         echo You should run this as root! >&2          echo You should run this as root! >&2
Line 14 
Line 14 
   /var/backups \    /var/backups \
   /var/cron \    /var/cron \
   /var/www/conf"    /var/www/conf"
   
   [ -e /var/www/etc ] && _list="${_list} /var/www/etc"
   
 local _mcfile=`grep '^### .*\.mc' /etc/mail/sendmail.cf | cut -d ' ' -f 2`  local _mcfile=`grep '^### .*\.mc' /etc/mail/sendmail.cf | cut -d ' ' -f 2`
 if [ X"${_mcfile}" != X"" ]; then  if [ X"${_mcfile}" != X"" ]; then

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>