From 7570eebcdd5628978cbdbab2fb7cb99abbc62360 Mon Sep 17 00:00:00 2001 From: Thomas Langer Date: Tue, 16 Dec 2008 14:07:55 +0000 Subject: cleanup sources and prepare for 2.6.27 SVN-Revision: 13660 --- target/linux/ifxmips/nfs/base-files/etc/preinit.arch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/ifxmips/nfs/base-files') diff --git a/target/linux/ifxmips/nfs/base-files/etc/preinit.arch b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch index 61662bc21d..7ee8e3e346 100755 --- a/target/linux/ifxmips/nfs/base-files/etc/preinit.arch +++ b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch @@ -1,3 +1,5 @@ -echo "- init nfs -" -exec /sbin/init +grep "/dev/root" /proc/mounts |grep -q nfs && { + echo "- init nfs -" + exec /sbin/init +} -- cgit v1.2.3