File: i810rotate

package info (click to toggle)
i810switch 0.6.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 124 kB
  • ctags: 44
  • sloc: ansic: 273; makefile: 68; sh: 9
file content (12 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -

dev=`i810switch`
dev=`echo $dev`

if [ "$dev" = "CRT: off LCD: on" ] ; then
	i810switch crt on lcd on  > /dev/null
elif [ "$dev" = "CRT: on LCD: off" ] ; then
	i810switch crt off lcd on > /dev/null
else
	i810switch crt on lcd off > /dev/null
fi