From 6ad1668c37fef80075e1a69b0ef71d0f8bbeb9c3 Mon Sep 17 00:00:00 2001 From: thl Date: Tue, 16 Dec 2008 14:07:55 +0000 Subject: [ifxmips] cleanup sources and prepare for 2.6.27 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13660 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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/etc/preinit.arch') 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