Révision 40 bin/del-filesystem

del-filesystem (revision 40)
36 36
function interactive {
37 37

  
38 38
zfs list
39
echo "*** Enter the ZFS FileSystem Name : ***" 
39
echo "*** Enter ZFS FileSystem Name: ***" 
40 40
while read inputline
41 41
do
42 42
   NAME_VOL=$inputline 
43
   echo "*** Do you want really remove the ZFS FileSystem : $inputline ? (y/n) ***"
43
   echo "*** Do you really want to remove this ZFS FileSystem: $inputline ? (y/n) ***"
44 44
   while read inputConfirm
45 45
   do
46 46
      if [ "$inputConfirm" = "y" ]||[ "$inputConfirm" = "n" ]
47 47
      then
48 48
         break
49 49
      fi
50
      echo "*** Do you want really remove the ZFS FileSystem : $inputline ? (y/n) ***"
50
      echo "*** Do you really want to remove this ZFS FileSystem: $inputline ? (y/n) ***"
51 51
   done
52 52

  
53 53
   
......
57 57
   fi
58 58
   if [ "$inputConfirm" != "y" ]
59 59
   then
60
      echo "*** Enter the ZFS Volume FileSystem : ***" 
60
      echo "*** Enter ZFS Volume FileSystem: ***" 
61 61
   fi
62 62
done
63 63
nointeractive

Formats disponibles : Unified diff