nat-start seems to do not work during startup of the router:
1 - /jffs/scripts/nat-start:
#!/bin/sh
ifconfig br0:1 86.120.x.x netmask 255.255.255.0
the file seems to have 777 permissions
2 - after reboot, /jffs/syslog.log contains a line like
Dec 14 08:23:59 custom_script: Running /jffs/script/nat-start
3 - when run manually
/jffs/scripts/nat-start
causes the ip to be set correctly
1 - /jffs/scripts/nat-start:
#!/bin/sh
ifconfig br0:1 86.120.x.x netmask 255.255.255.0
the file seems to have 777 permissions
2 - after reboot, /jffs/syslog.log contains a line like
Dec 14 08:23:59 custom_script: Running /jffs/script/nat-start
3 - when run manually
/jffs/scripts/nat-start
causes the ip to be set correctly