File: i8kfan

package info (click to toggle)
i8kutils 1.45
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: ansic: 413; tcl: 271; sh: 97; xml: 32; makefile: 23
file content (15 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
I8KCTL=/usr/bin/i8kctl

if [ -x $I8KCTL ]; then
	if [[ "$@" == "-h" ]]; then
		echo "Usage: i8kfan [left right]";
		echo "       i8kfan [-v]";
	elif [[ "$@" == "-v" ]]; then
		exec $I8KCTL "-v";
	else
		exec $I8KCTL "fan" "$@";
	fi
else
	echo "Error: i8kfan needs $I8KCTL";
fi