root / bin / uninstall.sh @ 30
Historique | Voir | Annoter | Télécharger (315 octet)
1 |
#!/bin/bash |
---|---|
2 |
|
3 |
|
4 |
#Del symbolic link |
5 |
for f in $(ls /opt/gZFS/bin) |
6 |
do |
7 |
rm /sbin/$f |
8 |
done |
9 |
|
10 |
if [[ -e "/etc/cron.d/gZFS-get-disk-zpool" ]] |
11 |
then |
12 |
rm /etc/cron.d/gZFS-get-disk-zpool |
13 |
fi |
14 |
|
15 |
echo "Please, if you want really remove the gZFS tools then remove /opt/gZFS, the cron files for replication/snapshoting in /etc/cron.d" |