I just tried on WP76 R9, I found that modifying mount_early is not working.
Instead I modify /etc/init.d/startlegato.sh, and I can add my command there.
case “$1” in
start)
echo “Legato start sequence 123”
echo 123 > /tmp/123.txt
You can have a try there.