From: Sebastian Hamann Date: Tue, 19 Aug 2025 11:53:27 +0000 (+0200) Subject: nut: fix typo in nut_serial.hotplug (fix #21504) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=012cfe59858ae53314229a832c015cea23589d5c;p=feed%2Fpackages.git nut: fix typo in nut_serial.hotplug (fix #21504) Signed-off-by: Sebastian Hamann --- diff --git a/net/nut/files/nut_serial.hotplug b/net/nut/files/nut_serial.hotplug index fa3bafeb8a..4bab3b6944 100644 --- a/net/nut/files/nut_serial.hotplug +++ b/net/nut/files/nut_serial.hotplug @@ -28,7 +28,7 @@ nut_on_hotplug_add() { [ "$ACTION" = "add" ] && [ -n "$DEVNAME" ] && { # On add of a serial port with name ttyUSB* - [ -z "${DEVNAME%ttyUSB*}" ] && nut_on_hutplug_add + [ -z "${DEVNAME%ttyUSB*}" ] && nut_on_hotplug_add # On add of a serial port with name ttyAMA* - [ -z "${DEVNAME%ttyAMA*}" ] && nut_on_hutplug_add + [ -z "${DEVNAME%ttyAMA*}" ] && nut_on_hotplug_add }