diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-28 14:13:18 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-28 14:13:18 -0500 |
commit | 4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6 (patch) | |
tree | c6f53decaabed9678523a8bbd6a1000a9f3bf78f /ubuntu/raring/applications/tde-guidance/debian/tde-guidance-trinity.init | |
parent | 211d261d7778de1d9a773e7ec43a4e97b4bd7e57 (diff) | |
download | tde-packaging-4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6.tar.gz tde-packaging-4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6.zip |
Split raring packaging into new directory due to defoma changes
Diffstat (limited to 'ubuntu/raring/applications/tde-guidance/debian/tde-guidance-trinity.init')
-rw-r--r-- | ubuntu/raring/applications/tde-guidance/debian/tde-guidance-trinity.init | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ubuntu/raring/applications/tde-guidance/debian/tde-guidance-trinity.init b/ubuntu/raring/applications/tde-guidance/debian/tde-guidance-trinity.init new file mode 100644 index 000000000..734e51725 --- /dev/null +++ b/ubuntu/raring/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 |