summaryrefslogtreecommitdiffstats
path: root/debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-04 12:48:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-04 12:48:29 -0500
commit7acfaa9e6409ed0ebdbc2e6fb67e8bc9b64b33d2 (patch)
tree3051f7c74a298d8d732f13fb76fa7eb73d4ec865 /debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init
parent1b6efb141bcf333e5c73a520e701d1de8cafcf4e (diff)
downloadtde-packaging-7acfaa9e6409ed0ebdbc2e6fb67e8bc9b64b33d2.tar.gz
tde-packaging-7acfaa9e6409ed0ebdbc2e6fb67e8bc9b64b33d2.zip
Rename a bunch of kde names to tde
Diffstat (limited to 'debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init')
-rw-r--r--debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init33
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init b/debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init
new file mode 100644
index 000000000..734e51725
--- /dev/null
+++ b/debian/squeeze/applications/tde-guidance/debian/tde-guidance-trinity.init
@@ -0,0 +1,33 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: tde-guidance
+# Required-Start: $local_fs $remote_fs
+# Required-Stop: $local_fs $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 1
+# Short-Description: displayconfig hardware probe
+# Description: displayconfig hardware probe. This program should be run
+# during boot time. It quickly examines the graphics cards
+# (read: PCI devices) in the computer and compares they to
+# the list in the file guidance-gfxhardware-snapshot. If the
+# two lists differ then the Debian package manager is
+# automatically called to regenerate /etc/X11/xorg.conf.
+# This hopefully should mean that people can swap gfx cards
+# in and out and always have a system that will run Xorg.
+# (even though the config will be most likely be suboptimal.
+# Suboptimal is better than no X server).
+### END INIT INFO
+
+case "$1" in
+ start)
+ /opt/trinity/share/python-support/guidance-backends-trinity/displayconfig-hwprobe.py
+ ;;
+ stop)
+ ;;
+ restart|force-reload)
+ ;;
+ *)
+ ;;
+esac
+
+exit 0