If I understand it right, the call to the post-mount script has the parameter of the partition just mounted. So running
is not the same as runningCode:./post-mount
The former will form the link with the -d version, but will try to form it when each partition is mounted, even if it is already formed, and even if entware isn't on it, while the $1 version will only try to form it when the right partition is mounted, and in a reboot. Also, a partition label helps to see it is the "right" partition.Code:./post-mount /tmp/mnt/sda1
Ok but I can't get it working with the $1 version, surely I do something wrong.