diff options
author | Robert Xu <[email protected]> | 2011-08-13 12:59:24 -0400 |
---|---|---|
committer | Robert Xu <[email protected]> | 2011-08-13 12:59:24 -0400 |
commit | fa41f32b69994ecd75b7359fa2df08ea5a3480ab (patch) | |
tree | cd552a63ddfdf016274772c1dfc7edc900b40564 /ubuntu/maverick/applications/kde-guidance/debian/kde-guidance-trinity.init | |
parent | 46130378aea5fff80803409c2573e2ea31472cb9 (diff) | |
parent | d280eef1122a1108c734f6530744533d64129343 (diff) | |
download | tde-packaging-fa41f32b69994ecd75b7359fa2df08ea5a3480ab.tar.gz tde-packaging-fa41f32b69994ecd75b7359fa2df08ea5a3480ab.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/applications/kde-guidance/debian/kde-guidance-trinity.init')
-rw-r--r-- | ubuntu/maverick/applications/kde-guidance/debian/kde-guidance-trinity.init | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/kde-guidance/debian/kde-guidance-trinity.init b/ubuntu/maverick/applications/kde-guidance/debian/kde-guidance-trinity.init new file mode 100644 index 000000000..30a3854d1 --- /dev/null +++ b/ubuntu/maverick/applications/kde-guidance/debian/kde-guidance-trinity.init @@ -0,0 +1,33 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: kde-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 |