projects
/
libremanage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2ef3a
)
fix install script from returning false error
master
author
Ian Kelling
<iank@fsf.org>
Mon, 6 May 2019 20:25:02 +0000
(16:25 -0400)
committer
Ian Kelling
<iank@fsf.org>
Mon, 6 May 2019 20:25:02 +0000
(16:25 -0400)
hidusb-relay-cmd-setup
patch
|
blob
|
blame
|
history
diff --git
a/hidusb-relay-cmd-setup
b/hidusb-relay-cmd-setup
index 54fe257f02abb822ac5adf0192fbb4894f1bc4fe..e63b0619136526805b1b64066c91f8db116e8c6f 100755
(executable)
--- a/
hidusb-relay-cmd-setup
+++ b/
hidusb-relay-cmd-setup
@@
-30,4
+30,6
@@
Board ID=[HURTM] State: R1=OFF R2=OFF
'HURTM' varies by board and goes into the libremanage config as the value for "relay"
EOF
-hidusb-relay-cmd state
+if ! hidusb-relay-cmd state; then
+ echo "$0: WARNING: running hidusb-relay-cmd state failed. this is expected if a relay is not plugged in" >&2
+fi