Changeset 689
- Timestamp:
- 07/11/08 10:10:30 (5 months ago)
- Location:
- cdd-utils/trunk
- Files:
-
- 3 modified
-
debian/changelog (modified) (2 diffs)
-
lib/common.sh (modified) (1 diff)
-
lib/desktop.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cdd-utils/trunk/debian/changelog
r687 r689 1 cdd-utils (0.12. 8) 64studio; urgency=low1 cdd-utils (0.12.9) 64studio; urgency=low 2 2 3 3 * [lib]: … … 8 8 - desktop 9 9 . fixed wrong key in gdm theme configuration 10 . configure silicon motion EXA acceleration 10 11 - server 11 12 . add cups script for sharing printers with samba -
cdd-utils/trunk/lib/common.sh
r577 r689 55 55 sed -i -e "s|^${com}.*${key}\(.*\)|${key}\1|g" $cfg 56 56 } 57 aft_key () { 58 key="$1" 59 val="$2" 60 cfg="$3" 61 sed -i -e "\|^$key| a $val" $cfg 62 } 63 clr_key () { 64 key="$1" 65 end="$2" 66 cfg="$3" 67 perl -e "open(FILE, \"$cfg\"); while (\$line = <FILE>) {if (\$line =~ /^$key/) {print \$line; until (\$line =~ /^$end/) {\$line = <FILE>;}; print \$line;} else {print \$line;};};close(FILE);" > $cfg.tmp 68 mv $cfg.tmp $cfg 69 } 57 70 ldap_set () { 58 71 dn="$1" -
cdd-utils/trunk/lib/desktop.sh
r651 r689 210 210 } 211 211 212 # Description: mediastation siliconmontion chip 213 # Depends: xserver-xorg-core 214 silicon () { 215 cfg=/etc/X11/xorg.conf 216 if ! exists $cfg; then warning "$cfg not found"; return; fi 217 silicon="Identifier \"Generic Video Card\"\n Driver \"siliconmotion\"\n Option \"NoAccel\"\n BusID \"PCI:2:10:0\"\n Option \"AccelMethod\" \"EXA\"\n Option \"MigrationHeuristic\" \"always\"" 218 clr_key "Section \"Device\"" "EndSection" "$cfg" 219 aft_key "Section \"Device\"" "$silicon" "$cfg" 220 221 222 } 223 212 224 # Description: Set maximum priority for GConf defaults 213 225 # Depends: gconf2-common
