[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/usr/share/se3/scripts/ -> clean_profiles.sh (source)

   1  #!/bin/bash
   2  
   3  for user in $(ls /home/profiles/ 2>/dev/null)
   4  do
   5      smbstatus -b|grep $user >/dev/null
   6      if [ "$?" == "0" ]; then
   7          >/home/$user/profil/delHive
   8          echo "Utilisateur $user connect&#233;, programmation suppression profil<br/>"
   9      else
  10          echo "Suppression du profil Windows de $user<br/>"
  11          rm -fr /home/profiles/$user
  12      fi
  13  done


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