some fixups
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9931 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -25,7 +25,9 @@ GROUP=camera
|
||||
# "usbcam" like this script.
|
||||
#
|
||||
|
||||
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
|
||||
[ -z "${DEVICE}" ] && DEVICE="${DEVNAME}"
|
||||
|
||||
if [ "${ACTION}" = "add" ] && [ -e "${DEVICE}" ]
|
||||
then
|
||||
chmod o-rwx "${DEVICE}"
|
||||
chgrp "${GROUP}" "${DEVICE}"
|
||||
|
||||
Reference in New Issue
Block a user