Logging to a usb stick

I'm new to openwrt, though I've been using linux since forever. I'm writing my log file, as well as the pcap files from adblock, to a usb stick. Unfortunately, as soon as I reboot and I have to manually restart log & adblock to get it going again. My guess is that the usb stick isn't mounting quickly enough - is there something else I should be looking at? Assuming that is the problem, is there a non-kludgy solution - e.g., better than writing a new init script to restart log & adblock at the end of the startup sequence?

I followed the instructions from https://openwrt.org/docs/guide-user/storage/usb-drives-quickstart to get the usb stick mounted, so I'm assuming I'm doing it the the Openwrt way(tm).

Thanks!

1 Like