Changeset 1026
- Timestamp:
- 04/26/06 14:03:53 (7 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
bureau/class/m_quota.php (modified) (1 diff)
-
bureau/locales/fr_FR/LC_MESSAGES/main_manual.po (modified) (1 diff)
-
bureau/locales/main_manual.po (modified) (1 diff)
-
src/quota_edit.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bureau/class/m_quota.php
r992 r1026 166 166 // It's a disk resource, update it with shell command 167 167 exec("/usr/lib/alternc/quota_edit $cuid $size"); 168 // Now we check that the value has been written properly : 169 exec("/usr/lib/alternc/quota_get ".$cuid,$a); 170 if ($size!=$a[1]) { 171 $err->raise("quota",1); 172 return false; 173 } 168 174 } 169 175 // We check that this ressource exists for this client : -
trunk/bureau/locales/fr_FR/LC_MESSAGES/main_manual.po
r868 r1026 92 92 msgstr "Espanol" 93 93 94 msgid "err_quota_0" 95 msgstr "OK" 96 97 msgid "err_quota_1" 98 msgstr "Les quotas disque ne sont pas activés sur le serveur" 99 -
trunk/bureau/locales/main_manual.po
r868 r1026 88 88 msgid "es_VE" 89 89 msgstr "Espanol" 90 91 msgid "err_quota_0" 92 msgstr "OK" 93 94 msgid "err_quota_1" 95 msgstr "Disk quota are not enabled on this server" 96 -
trunk/src/quota_edit.sh
r828 r1026 1 1 #!/bin/sh 2 2 . /etc/alternc/local.sh 3 /usr/sbin/setquota -r -g $1 $2 $2 0 0 $ALTERNC_LOC 3 /usr/sbin/setquota -r -g $1 $2 $2 0 0 $ALTERNC_LOC 2>/dev/null || echo "Group quota are not enabled on /var/alternc." >&2
Note: See TracChangeset
for help on using the changeset viewer.
