diff --git a/gestion/tools/list_quotas.py b/gestion/tools/list_quotas.py index 1dc353dd..9aac3bf8 100755 --- a/gestion/tools/list_quotas.py +++ b/gestion/tools/list_quotas.py @@ -16,7 +16,7 @@ for c in comptes : if not c.compte() : continue quota = getoutput('quota %s | grep "/dev/" | awk \'{ print $1" "$3" "$4 }\'' % c.compte() ) - if quota != '/dev/sdb1 300000 500000\n/dev/sdb2 50000 75000' : + if quota != '/dev/sda1 400000 600000\n/dev/sda2 102400 153600' and quota != '/dev/sda2 102400 153600\n/dev/sda1 400000 600000' : txts.append( '%s (%s)\n%s' % (c.Nom(), c.compte(), quota) ) print '\n- - - - - - = = = = = = # # # # # # # # = = = = = = - - - - - -\n'.join(txts).encode('iso-8859-1')