Raf Czlonka
ce97560e56
Remove double quotes, use curly braces where appropriate, and fix
...
the $BUSNAME device node path
2020-03-25 20:15:37 +00:00
Raf Czlonka
6b1b071b77
Group commands and add conditionals
2020-03-25 03:02:56 +00:00
Raf Czlonka
0d0c03ab68
Change the owner as well as the group - missed earlier
2020-03-25 02:48:53 +00:00
Raf Czlonka
9687ff8aa0
Additionally to user:group, modes also need changing
2020-03-25 02:47:54 +00:00
Raf Czlonka
5a842d8dd6
Remove useless comments
2020-03-25 02:44:37 +00:00
Raf Czlonka
0b978ea742
Simplify - use test(1) and && instead of 'if ... then ... fi"
2020-03-25 02:25:50 +00:00
Raf Czlonka
a129b7767d
Incorporate hotplugd(8) patches from the OpenBSD port
...
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_attach?rev=1.3
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_detach?rev=1.2
While there, use "$()" instead of "``" for running commands in a
subshell (this is to match `attach` change commited earlier).
More whitespace fixes.
2020-03-25 02:07:05 +00:00
Jochen Eisinger
d620d407bb
2007-04-5 Jochen Eisinger <jochen@penguin-breeder.org>
...
* README.openbsd, tools/README, tools/openbsd/attach,
tools/openbsd/detach: add notes about device permissions on
OpenBSD and provide some example scripts for hotplugd(8).
2007-04-05 07:41:02 +00:00