Doesn't this work only if your thumb drive is labeled "opt"?I think I nailed it: ab-solution nuked post-mount content, more specifically
if [ "$1" = "/tmp/mnt/opt" ] ; then
ln -nsf $1/entware /tmp/opt
fi
Yes, indeed, path will vary depending on where you installed entware.Doesn't this work only if your thumb drive is labeled "opt"?
Call it "tmp" even betterI would find the label 'opt' for a thumb drive highly confusing.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!