Static IP Address in Android x86 persistent after reboot? I would like to have a static ipaddress on my Android_x86.

I know there is a lot of questions about this and i tried some proposed answer, like : 

su
ifconfif eth0 down
ifconfig eth0 [IP] netmask [masque] up


It works, but these changes are removed after a reboot. It's a big problem in my case. I tried some solutions like edit the init.sh, or third party app on the store, but neither works.

What should I do ? Am I missing something ?
I did it, editing the file /etc/init.sh did the trick for me.
just adding at the end : 

ifconfig eth0 [IP] netmask [masque] up


It should be ran at boot.