diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-10 16:13:23 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-10 16:13:23 -0500 |
commit | 05a59ddb0228494ba27bacbe7d391f06725b0689 (patch) | |
tree | 7c028104ac86c3b1e43ea3584528939bd8802426 /debian/wheezy/applications/tde-guidance/debian/tde-guidance-trinity.init | |
parent | a3210d42cfc1a2eb722dd85b0ddac0a2177f26ab (diff) | |
download | tde-packaging-05a59ddb0228494ba27bacbe7d391f06725b0689.tar.gz tde-packaging-05a59ddb0228494ba27bacbe7d391f06725b0689.zip |
Split wheezy off of squeeze
Diffstat (limited to 'debian/wheezy/applications/tde-guidance/debian/tde-guidance-trinity.init')
-rw-r--r-- | debian/wheezy/applications/tde-guidance/debian/tde-guidance-trinity.init | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/wheezy/applications/tde-guidance/debian/tde-guidance-trinity.init b/debian/wheezy/applications/tde-guidance/debian/tde-guidance-trinity.init new file mode 100644 index 000000000..734e51725 --- /dev/null +++ b/debian/wheezy/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 |