I have manually set it to 1 so I can use mangOH yellow internet on my laptop. but it is again set up to 0 after reboot. now to make it persistant. is there any init script to set NAT and routing
put all your command into a script file in /home/root such as test.sh
chmod 777 /home/root/test.sh
test your script to make sure it works by “sh /home/root/test.sh”
if it works, then next step is to open /etc/init.d/startlegato.sh and add the following line:
case “$1” in
start)
echo “Legato start sequence”
umount /legato 2>/dev/null
mount -o bind $LEGATO_MNT /legato
test -x $LEGATO_START && $LEGATO_START
sh /home/root/test.sh &
;;