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