aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/init-ifupdown
AgeCommit message (Collapse)Author
2013-11-20sysvinit: fix problem in switching runlevelsChen Qi
Previously, if we switch to runlevel 1 and then switch back to runlevel 5, the network interface will be brought down and the NFS service will not be restarted correctly. The problem is that the networking and rpcbind services are brought down in runlevel 1 but not brought up in runlevel 5. This patch fixes the above problem. It's based on the assumption that in sysvinit-based system, runlevel 1 does not have networking support. This patch adjusts some init script parameters used by update-rc.d. It makes sure that networking starts before rpcbind which in turn starts before mountnfs.sh. When switching to runlevel 0, 1 and 6, the umountnfs.sh is run first before stopping rpcbind service, and the network is brought down afterwards. [YOCTO #5513] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05init-ifupdown: set kernel parameters firstlyJackie Huang
When do ipv6 ready test, some DAD (duplicate address detect) tests failed since it expect IPV6 will be disabled, but not. even accept_dad has been set to correct value 2. Further investigation shows the root cause is that setting the kernel parameter happens after the NIC is upped. Make kernel parameters be configured before the interfaces is upped, and duplicate setting the kernel parameters does not have negative effect. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-24Sync with PRINC removal from meta-intelRichard Purdie
PRINC usage is removed from meta-intel, bump core PR values to ensure no version regressions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06netbase: split up in netbase and init-ifupdownConstantin Musca
- netbase should only include etc-rpc, etc-protocols, etc-services and the hosts file - the init script/configuration files should be in another package (init-ifupdown) [YOCTO #2486] Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>