mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
Update usb_printer_hotplug
This commit is contained in:
parent
5a56f1eeaa
commit
e2535799fb
@ -36,7 +36,7 @@ check_printer() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
device_file=`echo $DEVICES | grep $device_id | cut -d , -f 1`
|
device_file=`echo "$DEVICES" | grep $device_id | cut -d , -f 1`
|
||||||
|
|
||||||
if [ "$ACTION" = "add" ] && [ -z "$device_file" ]; then
|
if [ "$ACTION" = "add" ] && [ -z "$device_file" ]; then
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user