Ignore:
Timestamp:
08/22/13 12:45:04 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
69265de
Parents:
197bdbf
Message:

Add --replicate option to "mksnap" to force immediate replication

File:
1 edited

Legend:

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

    rac48c86 raac00e0  
    2323if [ $DIDREP -eq 0 ] ; then exit 0 ; fi 
    2424 
     25if [ "$TIME" = "force" ] ; then 
     26  type="Manual"  
     27else 
     28  type="Automated"  
     29fi 
     30 
    2531if [ $status -eq 0 ] ; then 
    2632  title="Success" 
     
    3036 
    3137case $EMAILMODE in 
    32     ALL) email_msg "$title - Automated Replication" "`echo_queue_msg`" ;; 
     38    ALL) email_msg "$title - $type Replication" "`echo_queue_msg`" ;; 
    3339    *) if [ $status -ne 0 ] ; then 
    34           email_msg "$title - Automated Replication" "`echo_queue_msg`" 
     40          email_msg "$title - $type Replication" "`echo_queue_msg`" 
    3541       fi 
    3642       ;; 
Note: See TracChangeset for help on using the changeset viewer.