[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/usr/share/se3/sbin/ -> purge_public.sh (source)

   1  #!/bin/bash
   2  
   3  ## $Id$ ##
   4  #
   5  ##### Purge le repertoire public toutes les nuits si cela est active dans l'interface #####
   6  #
   7  
   8  if [ "$1" = "--help" -o "$1" = "-h" ]
   9  then
  10          echo "Script permettant de puger le repertoire public toutes les nuits."
  11          echo "Activation via l'interface."
  12  
  13          echo "Usage : pas d'option"
  14          exit
  15  fi
  16  
  17  . /etc/se3/config_c.cache.sh
  18  
  19  
  20  if [ "$purge_public" == "1" ]
  21  then
  22          rm -Rf /var/se3/Docs/public/* > /dev/null
  23  fi


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1