Modif de Bilou qui commite pas
darcs-hash:20050916074842-d1718-fac70baa51cd4acea4b4b33019964ab5f078ab3b.gz
This commit is contained in:
parent
48063f35ac
commit
f80332ce60
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ for c in comptes :
|
||||||
if not c.compte() :
|
if not c.compte() :
|
||||||
continue
|
continue
|
||||||
quota = getoutput('quota %s | grep "/dev/" | awk \'{ print $1" "$3" "$4 }\'' % c.compte() )
|
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) )
|
txts.append( '%s (%s)\n%s' % (c.Nom(), c.compte(), quota) )
|
||||||
|
|
||||||
print '\n- - - - - - = = = = = = # # # # # # # # = = = = = = - - - - - -\n'.join(txts).encode('iso-8859-1')
|
print '\n- - - - - - = = = = = = # # # # # # # # = = = = = = - - - - - -\n'.join(txts).encode('iso-8859-1')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue