Subversion Repositories wimsdev

Rev

Rev 23 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #! /bin/sh
  2.  
  3. cd ..
  4. wims_home=`pwd`
  5. cd log
  6. dat=`date`
  7. cat >>wims.conf.old <<@
  8.  
  9. ----------------------------------------------------------
  10. ##########################################################
  11. #  wims.conf backup saved on $dat
  12. ##########################################################
  13. @
  14.  
  15. tail -1000 wims.conf.old >wims.conf.old2
  16. mv wims.conf.old2 wims.conf.old
  17. cat wims.conf >>wims.conf.old
  18. mv wims.conf2 wims.conf 2>/dev/null
  19. chmod og-rwx wims.conf
  20. rm -f $wims_home/tmp/wimslogd.pid
  21. pwd
  22.  
  23.