summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Walls <malverian@gentoo.org>2003-11-05 17:06:43 +0000
committerPhilip Walls <malverian@gentoo.org>2003-11-05 17:06:43 +0000
commita7e65ccc6cfe7a0380dd3fd227bf48fcd33437c7 (patch)
tree0ebc5b1323d44714294ea79a57c5434613de2f9e /media-video/nvclock/files
parentadded rc-scripts for nvclock (#19365) (diff)
downloadgentoo-2-a7e65ccc6cfe7a0380dd3fd227bf48fcd33437c7.tar.gz
gentoo-2-a7e65ccc6cfe7a0380dd3fd227bf48fcd33437c7.tar.bz2
gentoo-2-a7e65ccc6cfe7a0380dd3fd227bf48fcd33437c7.zip
added rc-scripts for nvclock (#19365)
Diffstat (limited to 'media-video/nvclock/files')
-rw-r--r--media-video/nvclock/files/digest-nvclock-0.7-r1 (renamed from media-video/nvclock/files/digest-nvclock-0.7)0
-rw-r--r--media-video/nvclock/files/nvclock_confd9
-rw-r--r--media-video/nvclock/files/nvclock_initd12
3 files changed, 21 insertions, 0 deletions
diff --git a/media-video/nvclock/files/digest-nvclock-0.7 b/media-video/nvclock/files/digest-nvclock-0.7-r1
index 15079aef2372..15079aef2372 100644
--- a/media-video/nvclock/files/digest-nvclock-0.7
+++ b/media-video/nvclock/files/digest-nvclock-0.7-r1
diff --git a/media-video/nvclock/files/nvclock_confd b/media-video/nvclock/files/nvclock_confd
new file mode 100644
index 000000000000..ff7f15bdd746
--- /dev/null
+++ b/media-video/nvclock/files/nvclock_confd
@@ -0,0 +1,9 @@
+# Config file for /etc/init.d/nvclock
+
+# Set the core clock speed after -n and the memory clock speed after -m
+# Check your current speeds by running 'nvclock -s' at the command line
+# so you don't overclock too much and burn out the card
+# Test out your overclocking before adding this to the bootup!
+
+CLOCKOPTS="-s"
+#CLOCKOPTS="-n <corespeed> -m <memspeed>"
diff --git a/media-video/nvclock/files/nvclock_initd b/media-video/nvclock/files/nvclock_initd
new file mode 100644
index 000000000000..8fb3f7749539
--- /dev/null
+++ b/media-video/nvclock/files/nvclock_initd
@@ -0,0 +1,12 @@
+#!/sbin/runscript
+
+depend() {
+ before xdm
+}
+
+start() {
+ ebegin "Setting nvidia card overclock speed"
+ nvclock ${CLOCKOPTS} >/dev/null
+ eend $?
+}
+