[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
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é, 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
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |