File: normal

package info (click to toggle)
matroxset 0.4-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 152 kB
  • ctags: 815
  • sloc: ansic: 1,446; makefile: 51; sh: 24
file content (12 lines) | stat: -rwxr-xr-x 196 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

if [ -c /dev/fb0 ]; then
  HEAD0=/dev/fb0
  HEAD1=/dev/fb1
else
  HEAD0=/dev/fb/0
  HEAD1=/dev/fb/1
fi
matroxset -f ${HEAD1} -m 0
matroxset -f ${HEAD0} -m 1
matroxset -f ${HEAD1} -m 2