Browse Source

Revert "add prefs for devmon, but not work!"

This reverts commit 331e991f84.
pull/1/head
10sr 10 years ago
parent
commit
494adbe5cf
2 changed files with 4 additions and 5 deletions
  1. +4
    -1
      ansible/removable_media.yml
  2. +0
    -4
      xprograms

+ 4
- 1
ansible/removable_media.yml View File

@@ -2,7 +2,7 @@
# do not forget to add lxpolkit to autostart! # do not forget to add lxpolkit to autostart!
- hosts: all - hosts: all
vars: vars:
packages: [udevil]
packages: [gvfs, gvfs-afc, polkit, lxpolkit]
sudo: yes sudo: yes
tasks: tasks:
- name: install packages - name: install packages
@@ -11,3 +11,6 @@
when: ansible_os_family == "Archlinux" when: ansible_os_family == "Archlinux"
- name: add user yuk to storage group - name: add user yuk to storage group
user: append=yes groups=storage name=yuk user: append=yes groups=storage name=yuk
- name: put polkit rule for mount by storage group
copy: src=enable-mount.rules.polkit
dest=/etc/polkit-1/rules.d/10-enable-mount.rules

+ 0
- 4
xprograms View File

@@ -77,10 +77,6 @@ _lxpolkit(){
(sleep 1s && /usr/lib/lxpolkit/lxpolkit) & (sleep 1s && /usr/lib/lxpolkit/lxpolkit) &
} }


_devmon(){
(sleep 1s && devmon) &
}

for p in $@ for p in $@
do do
_$p _$p


Loading…
Cancel
Save