Browse Source

Merge pull request #22 from krieger-od/master

Various enhancements
master
Andrea Luzzardi 9 years ago
parent
commit
b96b4f79f7
4 changed files with 5 additions and 4 deletions
  1. +2
    -2
      doc/pamusb.conf
  2. +1
    -0
      src/volume.c
  3. +1
    -1
      tools/pamusb-agent
  4. +1
    -1
      tools/pamusb-conf

+ 2
- 2
doc/pamusb.conf View File

@ -40,8 +40,8 @@ See http://www.pamusb.org/doc/configuring
<user id="scox"> <user id="scox">
<device>MyDevice</device> <device>MyDevice</device>
<option name="quiet">true</option> <option name="quiet">true</option>
<agent event="lock">gnome-screensaver-command --lock</agent>
<agent event="unlock">gnome-screensaver-command --deactivate</agent>
<agent event="lock">gnome-screensaver-command -\-lock</agent>
<agent event="unlock">gnome-screensaver-command -\-deactivate</agent>
</user> </user>
Configure user root to authenticate using MyDevice, but update one Configure user root to authenticate using MyDevice, but update one


+ 1
- 0
src/volume.c View File

@ -143,6 +143,7 @@ char *pusb_volume_get(t_pusb_options *opts, DBusConnection *dbus)
if (!mount_point) if (!mount_point)
{ {
log_error("Unable to retrieve %s mount point\n", volume_udi); log_error("Unable to retrieve %s mount point\n", volume_udi);
pusb_volume_destroy(mount_point);
return (NULL); return (NULL);
} }
return (mount_point); return (mount_point);


+ 1
- 1
tools/pamusb-agent View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# #
# Copyright (c) 2003-2007 Andrea Luzzardi <scox@sig11.org> # Copyright (c) 2003-2007 Andrea Luzzardi <scox@sig11.org>
# #


+ 1
- 1
tools/pamusb-conf View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# #
# Copyright (c) 2003-2007 Andrea Luzzardi <scox@sig11.org> # Copyright (c) 2003-2007 Andrea Luzzardi <scox@sig11.org>
# #


Loading…
Cancel
Save