kopia lustrzana https://gitlab.com/sane-project/backends
Remove double quotes, use curly braces where appropriate, and fix
the $BUSNAME device node pathmerge-requests/213/head^2
rodzic
6fed5be5f3
commit
ce97560e56
|
@ -9,11 +9,11 @@ case $DEVCLASS in
|
|||
ugen*)
|
||||
BUSNAME=$(cat /var/run/${DEVNAME}.bus)
|
||||
rm -f /var/run/${DEVNAME}.bus
|
||||
chown root:wheel /dev/"$DEVNAME".* &&
|
||||
chmod 600 /dev/"$DEVNAME".*
|
||||
chown root:wheel /dev/${DEVNAME}.* &&
|
||||
chmod 600 /dev/${DEVNAME}.*
|
||||
test -n "$BUSNAME" && {
|
||||
chown root:wheel /dev/"$BUSNAME" &&
|
||||
chmod 600 /dev/"$BUSNAME"
|
||||
chown root:wheel $BUSNAME &&
|
||||
chmod 600 $BUSNAME
|
||||
}
|
||||
;;
|
||||
esac
|
||||
|
|
Ładowanie…
Reference in New Issue