I want to use an USB device with OpenWrt router.
To assign constant symlink for an USB device, I put an script to /etc/hotplug.d/usb/ .
But, procd doesn't invoke the script if an USB device is plugged on cold boot. When I boot router with an plugged USB storage, Linux kernel detects the USB storage but procd doesn't invoke scripts in /etc/hotplug.d/usb/ . And procd invoke scripts when I removed the USB device, procd invoke scripts with remove event only.
The USB device I want to use may be unplugged on booting. I want to assign a constant symlink for the USB device for cold boot and hotplug. How to?