[BACK]Return to virecover CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/virecover between version 1.4 and 1.5

version 1.4, 2000/10/09 05:33:53 version 1.5, 2001/04/11 21:02:44
Line 11 
Line 11 
 . /etc/rc.subr  . /etc/rc.subr
   
 name="virecover"  name="virecover"
 start_cmd="virecover_start"  command="/usr/libexec/${name}"
 stop_cmd=":"  stop_cmd=":"
   reload_cmd=":"
 virecover_start()  
 {  
         recover=`find /var/tmp/vi.recover -name 'recover.*' -type f -print`  
         if [ -n "$recover" ]; then  
                 echo "Preserving editor files."  
                 for i in $recover; do  
                         sendmail -t < $i  
                 done  
         fi  
 }  
   
 load_rc_config $name  load_rc_config $name
 run_rc_command "$1"  run_rc_command "$1"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>