Changeset 3191
- Timestamp:
- 08/06/12 11:54:09 (10 months ago)
- Location:
- alternc/trunk/debian
- Files:
-
- 2 edited
-
alternc.config (modified) (3 diffs)
-
templates (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/debian/alternc.config
r3142 r3191 20 20 21 21 db_input critical alternc/warningaclquota || true 22 23 22 24 23 25 # default values for local.sh … … 67 69 68 70 # mettre les valeurs de local.sh comme "default" pour debconf 71 db_get alternc/alternc_location 72 if [ -z "$RET" ] 73 then 74 db_set alternc/alternc_location "$ALTERNC_LOC" 75 fi 76 77 db_get alternc/alternc_location 78 #checking acl and quota activation, does't work with NFS yet. 79 location=$RET 80 mount_point=`df -P $location | tail -1 | /usr/bin/awk '{print $NF}'` 81 quota_activation=`quotaon -pa |grep '^group.*on$' | /usr/bin/awk '$4 ~ /^\'$mount_point'$/ {print $4}'` 82 acl_activation=`/bin/mount | awk '$NF ~ /acl/ && $NF !~ /noacl/ && $3 ~ /^\'"$mount_point"'$/ {print $3}'` 83 84 if [ "$mount_point" != "$acl_activation" ] 85 then 86 db_input critical alternc/acluninstalled || true 87 db_go 88 db_reset alternc/acluninstalled || true 89 db_fset alternc/acluninstalled "seen" "false" || true 90 exit 1 91 fi 92 93 if [ "$mount_point" != "$quota_activation" ] 94 then 95 db_input critical alternc/quotauninstalled || true 96 db_go 97 db_reset alternc/puotauninstalled || true 98 db_fset alternc/quotauninstalled "seen" "false" || true 99 fi 100 69 101 db_get alternc/hostingname 70 102 if [ -z "$RET" ] … … 161 193 then 162 194 db_set alternc/sql/backup_overwrite "$SQLBACKUP_OVERWRITE" 163 fi164 165 db_get alternc/alternc_location166 if [ -z "$RET" ]167 then168 db_set alternc/alternc_location "$ALTERNC_LOC"169 195 fi 170 196 -
alternc/trunk/debian/templates
r3142 r3191 22 22 Also, you need to activate group quota (grpquota) 23 23 to be able to use disk quota. 24 25 Template: alternc/acluninstalled 26 Type: note 27 _Description: AlternC need ACL activated 28 AlternC can't work without ACL activated on his file system. 29 ACL not activated 30 . 31 Also, you need to activate group quota (grpquota) 32 to be able to use disk quota. 33 34 Template: alternc/quotauninstalled 35 Type: note 36 _Description: AlternC QUOTA not activated 37 The QUOTA assigned to each user will be infinite. 38 . 24 39 25 40 Template: alternc/desktopname
Note: See TracChangeset
for help on using the changeset viewer.
