This patch allows me to boot my system with root file system mounted over Network File System (NFS). Without this patch, the boot process ends in the preinit step:
init: - preinit - ... + [ eth0 = eth0+ ip link set dev eth0 down nfs: server 192.168.1.90 not responding, still trying Signed-off-by: Petr Štetiar <yn...@true.cz> --- package/base-files/files/lib/preinit/10_indicate_preinit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit index 7a97a8d..457ce21 100644 --- a/package/base-files/files/lib/preinit/10_indicate_preinit +++ b/package/base-files/files/lib/preinit/10_indicate_preinit @@ -114,6 +114,8 @@ preinit_ip() { } preinit_ip_deconfig() { + grep -q "nfsroot" /proc/cmdline && return + [ -n "$pi_ifname" ] && grep -q "$pi_ifname" /proc/net/dev && { local netdev vid -- 1.9.1 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev