Statistiques
| Révision :

root / bin / uninstall.sh @ 39

Historique | Voir | Annoter | Télécharger (321 octet)

1 30 kreverch
#!/bin/bash
2 39 ltaulell
# $Id$
3 30 kreverch
4 30 kreverch
#Del symbolic link
5 30 kreverch
for f in $(ls /opt/gZFS/bin)
6 30 kreverch
do
7 30 kreverch
   rm /sbin/$f
8 30 kreverch
done
9 30 kreverch
10 30 kreverch
if [[ -e "/etc/cron.d/gZFS-get-disk-zpool" ]]
11 30 kreverch
then
12 30 kreverch
  rm /etc/cron.d/gZFS-get-disk-zpool
13 30 kreverch
fi
14 30 kreverch
15 30 kreverch
echo "Please, if you want really remove the gZFS tools then remove /opt/gZFS, the cron files for replication/snapshoting in /etc/cron.d"