The Following User Says Thank You to pali For This Useful Post: | ||
|
2017-02-16
, 13:24
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#12
|
|
2017-02-17
, 10:51
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#13
|
Tags |
disable, ipv6-support, maemo |
|
Normally it should be done into kernel cmdline, but on N900 you need either recompile kernel or boot via usb from computer (where you can specify cmdline). So no go.
Another option is to use sysctl.conf, which is not read on Maemo. So no go.
So last option is to call it manually and because Maemo does not support SysV init scripts (Maemo has removed this support from upstart init daemon) you cannot even use /etc/init.d/ and /etc/rc*.d/.
You need to create your own upstart script which will be executed on device bootup. You need to run sysctl or write to /proc/sys/... For that you need to already have mounted procfs. procfs is mounted by /etc/init.d/rcS called by upstart script /etc/event.d/rcS. So you need to create upstart script which will be called after rcS is finished. This can be achieved by specifying "start on stopped rcS" in your upstart script.
Something like this should work:
/etc/event.d/disable_ipv6