root / bin / uninstall.sh @ 67
Historique | Voir | Annoter | Télécharger (457 octet)
1 |
#!/bin/bash |
---|---|
2 |
# $Id: uninstall.sh 51 2013-10-10 11:20:37Z ltaulell $ |
3 |
# Copyright (C) 2013 Kevin Reverchon, Loïs Taulelle |
4 |
# This file/program is part of gZFS free software |
5 |
# See COPYING file for details |
6 |
# |
7 |
|
8 |
#Del symbolic link |
9 |
for f in $(ls /opt/gZFS/bin) |
10 |
do |
11 |
rm /sbin/$f |
12 |
done |
13 |
|
14 |
if [[ -e "/etc/cron.d/gZFS-get-disk-zpool" ]] |
15 |
then |
16 |
rm /etc/cron.d/gZFS-get-disk-zpool |
17 |
fi |
18 |
|
19 |
echo "Please, if you want really remove the gZFS tools then remove /opt/gZFS, the cron files for replication/snapshoting in /etc/cron.d" |