Changeset 703
- Timestamp:
- 07/15/08 19:18:42 (2 months ago)
- Files:
-
- cdd-utils/trunk/debian/changelog (modified) (2 diffs)
- cdd-utils/trunk/lib/common.sh (modified) (1 diff)
- cdd-utils/trunk/lib/desktop.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cdd-utils/trunk/debian/changelog
r698 r703 1 cdd-utils (0.12.1 0) 64studio; urgency=low1 cdd-utils (0.12.11) 64studio; urgency=low 2 2 3 3 * [lib]: … … 10 10 . configure silicon motion EXA acceleration 11 11 . allow root login in kdm 12 . added model support to touchscreen 12 13 - server 13 14 . add cups script for sharing printers with samba cdd-utils/trunk/lib/common.sh
r689 r703 61 61 sed -i -e "\|^$key| a $val" $cfg 62 62 } 63 has_key () { 64 key="$1" 65 cfg="$2" 66 if ! grep -q "^$key" "$cfg"; then 67 return 1 68 else 69 return 0 70 fi 71 } 63 72 clr_key () { 64 73 key="$1" cdd-utils/trunk/lib/desktop.sh
r701 r703 146 146 # Trinity touchscreen 147 147 touchscreen () { 148 cfg=/etc/modprobe.d/blacklist-touchscreen 149 cat <<EOF > $cfg 150 blacklist usbtouchscreen 151 EOF 148 model=$1 152 149 153 150 cfg=/etc/udev/rules.d/60-touchscreen.rules … … 157 154 KERNEL=="event[0-9]*", SYSFS{idVendor}=="0eef", SYSFS{idProduct}=="0001", SYMLINK+="input/touchscreen" 158 155 EOF 156 157 if nullstr $model; then warning "No model given"; return; fi 159 158 160 159 cfg=/etc/X11/xorg.conf … … 218 217 clr_key "Section \"Device\"" "EndSection" "$cfg" 219 218 aft_key "Section \"Device\"" "$silicon" "$cfg" 220 221 222 219 } 223 220
