~computersforpeace/ubuntu/utopic/nvidia-graphics-drivers-331/fix-for-1367468

« back to all changes in this revision

Viewing changes to debian/nvidia-persistenced.conf

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2013-12-17 13:08:33 UTC
  • Revision ID: package-import@ubuntu.com-20131217130833-ldjedg6wg8cog61q
Tags: 331.20-0ubuntu7
* debian/rules, debian/templates/control.in,
  debian/templates/nvidia-graphics-drivers.dirs.in,
  debian/templates/nvidia-graphics-drivers.install.in,
  debian/templates/nvidia-graphics-drivers.postinst.in,
  debian/templates/nvidia-graphics-drivers.postrm.in,
  debian/nvidia-persistenced.conf:
  - Add support for nvidia-persistenced.
  - Conflict/replace/provide with nvidia-persistenced
    to avoid potential problems with packages from
    xorg-edgers or other PPAs.
  - Depend on passwd and adduser.
  - Drop Recommend nvidia-persistenced.
  - Recommend nvidia-prime. Keep bumblebee as an
    alternative, so that users who prefer to use
    bumblebee, can keep doing so.
  - Drop cdbs and switch to debhelper 7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# nvidia-persistenced - support for NVIDIA's persistence mode
 
2
#
 
3
# Start and stop nvidia-persistenced when it's convenient.
 
4
# This job takes into account hybrid graphics.
 
5
 
 
6
description "NVIDIA Persistenced Daemon"
 
7
author      "Alberto Milone <alberto.milone@canonical.com>"
 
8
 
 
9
start on bbswitch-ready
 
10
stop on (runlevel [016] or nvidia-off)
 
11
 
 
12
expect fork
 
13
 
 
14
exec /usr/bin/nvidia-persistenced --user nvidia-persistenced
 
15
 
 
16
post-stop script
 
17
    rm -rf /var/run/nvidia-persistenced
 
18
end script