~ubuntu-branches/ubuntu/trusty/systemd/trusty

« back to all changes in this revision

Viewing changes to src/login/71-seat.rules

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Michael Biebl, Michael Stapelberg, Daniel Schaal, Ondrej Balaz
  • Date: 2013-09-12 00:13:11 UTC
  • mfrom: (1.1.11) (9.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: package-import@ubuntu.com-20130912001311-dz35it34wr2lbday
Tags: 204-3
[ Michael Biebl ]
* Upload to unstable.
* Use /bin/bash in debug-shell.service as Debian doesn't have /sbin/sushell.
* Only import net.ifaces cmdline property for network devices.
* Generate strict dependencies between the binary packages using a
  shlibs.local file and add an explicit versioned dependency on
  libsystemd-login0 to systemd to ensure packages are upgraded in sync.
  Closes: #719444
* Drop obsolete Replaces: libudev0 from udev package.
* Use correct paths for various binaries, like /sbin/quotaon, which are
  installed in / and not /usr in Debian.  Closes: #721347
* Don't install kernel-install(8) man page since we don't install the
  corresponding binary either.  Closes: #722180
* Cherry-pick upstream fixes to make switching runlevels and starting
  reboot via ctrl-alt-del more robust.
* Cherry-pick upstream fix to properly apply ACLs to Journal files.

[ Michael Stapelberg ]
* Make systemctl enable|disable call update-rc.d for SysV init scripts.
  Closes: #709780
* Don't mount /tmp as tmpfs by default and make it possible to enable this
  feature via "systemctl enable tmp.mount".

[ Daniel Schaal ]
* Add bug-script to systemd and udev.  Closes: #711245

[ Ondrej Balaz ]
* Recognize discard option in /etc/crypttab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  This file is part of systemd.
2
 
#
3
 
#  systemd is free software; you can redistribute it and/or modify it
4
 
#  under the terms of the GNU General Public License as published by
5
 
#  the Free Software Foundation; either version 2 of the License, or
6
 
#  (at your option) any later version.
7
 
 
8
 
ACTION=="remove", GOTO="seat_end"
9
 
TEST!="/sys/fs/cgroup/systemd", GOTO="seat_end"
10
 
 
11
 
TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
12
 
SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"
13
 
SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat"
14
 
SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat"
15
 
SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"
16
 
 
17
 
# 'Plugable' USB hub, sound, network, graphics adapter
18
 
SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUTOSEAT}="1"
19
 
 
20
 
# Mimo 720, with integrated USB hub, displaylink graphics, and e2i touchscreen
21
 
SUBSYSTEM=="usb", ATTR{idVendor}=="058f", ATTR{idProduct}=="6254", ENV{ID_AUTOSEAT}="1"
22
 
 
23
 
TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
24
 
TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"
25
 
 
26
 
LABEL="seat_end"