Skip to content
Snippets Groups Projects
Verified Commit e1e4b6f4 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

sbin/reform-standby: make 'Device or resource busy' and 'No such device' non-fatal

parent 12f26305
No related branches found
No related tags found
No related merge requests found
......@@ -56,13 +56,13 @@ kbd_backlight_on() {
}
hid_bind() {
echo 0003:03EB:2041.0002 > /sys/bus/hid/drivers/hid-generic/bind
echo 0003:03EB:2042.0001 > /sys/bus/hid/drivers/hid-generic/bind
echo 0003:03EB:2041.0002 > /sys/bus/hid/drivers/hid-generic/bind || :
echo 0003:03EB:2042.0001 > /sys/bus/hid/drivers/hid-generic/bind || :
}
hid_unbind() {
echo 0003:03EB:2041.0002 > /sys/bus/hid/drivers/hid-generic/unbind
echo 0003:03EB:2042.0001 > /sys/bus/hid/drivers/hid-generic/unbind
echo 0003:03EB:2041.0002 > /sys/bus/hid/drivers/hid-generic/unbind || :
echo 0003:03EB:2042.0001 > /sys/bus/hid/drivers/hid-generic/unbind || :
}
case $1 in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment