Changes in / [1f1481c9:0130b27]


Ignore:
Location:
src-sh
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/backend/functions.sh

    r042dc70 ra3560cd  
    172172 
    173173  case $TIME in 
    174      [0-9][0-9]|sync) ;; 
     174     [0-9][0-9]|sync|hour|30min|10min) ;; 
    175175     *) exit_err "Invalid time: $TIME" 
    176176  esac 
     
    191191 
    192192  if [ "$TIME" != "sync" ] ; then 
     193    case $TIME in 
     194        hour) cTime="0     *" ;; 
     195       30min) cTime="*/30     *" ;; 
     196       10min) cTime="*/10     *" ;; 
     197           *) cTime="0     *" ;; 
     198    esac 
    193199    cronscript="${PROGDIR}/backend/runrep.sh" 
    194     cLine="0    $TIME       *       *       *" 
     200    cLine="$cTime       *       *       *" 
    195201    echo -e "$cLine\troot    ${cronscript} ${LDATA}" >> /etc/crontab 
    196202  fi 
  • src-sh/lpreserver/lpreserver

    r9cd0fa0 ra3560cd  
    155155 
    156156        add <remotehost> <user> <port> <hostdataset> <remotedataset> <time> 
     157 
     158        <time> = XX/sync/hour/30min/10min 
    157159 
    158160        Example 1:  
  • src-sh/pc-updatemanager/etcmerge

    rb95e8a8 ra9fff64  
    120120        fi 
    121121        for i in $(cat *.conflicts 2> /dev/null); do 
     122            if [ ! -e "etc-merged/$i" ] ; then continue ; fi 
    122123            if egrep -q '^(<<<<<<< |=======$|>>>>>>> )' etc-merged/$i; then 
    123124                echo "Unresolved conflicts in ${i}" 1>&2 
Note: See TracChangeset for help on using the changeset viewer.