summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2001-10-21 22:46:56 +0000
committerAron Griffis <agriffis@gentoo.org>2001-10-21 22:46:56 +0000
commit616910e8eee1e9b3be1d1aa370497ac4893da585 (patch)
tree0fc3184fa9696fde00a2ae9db5b64dbe2601f8e0 /app-misc/lcdproc/files
parentFixup urls, tabbing, and try/die. (diff)
downloadgentoo-2-616910e8eee1e9b3be1d1aa370497ac4893da585.tar.gz
gentoo-2-616910e8eee1e9b3be1d1aa370497ac4893da585.tar.bz2
gentoo-2-616910e8eee1e9b3be1d1aa370497ac4893da585.zip
Changed lcdproc to use /etc/conf.d, along with other minor fixes.
Note that this ebuild installs to /usr/local/bin, which is wrong. It should install to /usr/bin.
Diffstat (limited to 'app-misc/lcdproc/files')
-rw-r--r--app-misc/lcdproc/files/digest-lcdproc-0.4.1-r11
-rw-r--r--app-misc/lcdproc/files/lcdproc7
-rw-r--r--app-misc/lcdproc/files/lcdproc.confd16
3 files changed, 20 insertions, 4 deletions
diff --git a/app-misc/lcdproc/files/digest-lcdproc-0.4.1-r1 b/app-misc/lcdproc/files/digest-lcdproc-0.4.1-r1
new file mode 100644
index 000000000000..499e295f1cb0
--- /dev/null
+++ b/app-misc/lcdproc/files/digest-lcdproc-0.4.1-r1
@@ -0,0 +1 @@
+MD5 85596a4572697bea971587f215097dcb lcdproc-0.4.1.tar.gz 212992
diff --git a/app-misc/lcdproc/files/lcdproc b/app-misc/lcdproc/files/lcdproc
index b965b2faa108..eb0efbfd3bd9 100644
--- a/app-misc/lcdproc/files/lcdproc
+++ b/app-misc/lcdproc/files/lcdproc
@@ -1,12 +1,11 @@
#!/sbin/runscript
+# Please don't change these variables. They are listed here as
+# defaults for reference. Make your modifications in
+# /etc/conf.d/lcdproc instead.
port="ttyS0"
-# which port is the LCD connected
driver="MtxOrb"
clients="C M T X"
-# "C" (CPU usage),"G" (CPU Graph like Xload),"M" (Memory Usage),"X" (X-Load),
-# "T" (Date, time, Uptime, OS version),"D" (Disk Stats),"B" (Battery Stats),"A" (About)
-# for more Clients see "LCDproc Homepage"
start() {
ebegin "Starting LCDProc"
diff --git a/app-misc/lcdproc/files/lcdproc.confd b/app-misc/lcdproc/files/lcdproc.confd
new file mode 100644
index 000000000000..1dae1f578f33
--- /dev/null
+++ b/app-misc/lcdproc/files/lcdproc.confd
@@ -0,0 +1,16 @@
+# which port is the LCD connected
+port="ttyS0"
+
+# what driver should be used
+driver="MtxOrb"
+
+# "C" (CPU usage)
+# "G" (CPU Graph like Xload)
+# "M" (Memory Usage)
+# "X" (X-Load)
+# "T" (Date, time, Uptime, OS version)
+# "D" (Disk Stats)
+# "B" (Battery Stats)
+# "A" (About)
+# for more clients see "LCDproc Homepage"
+clients="C M T X"