diff options
author | thl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-16 14:07:55 +0000 |
---|---|---|
committer | thl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-16 14:07:55 +0000 |
commit | 6ad1668c37fef80075e1a69b0ef71d0f8bbeb9c3 (patch) | |
tree | 07dc39510a01c7dca62cd1d2a794c1800ecab6c2 /target/linux/ifxmips/nfs/base-files | |
parent | 84938fc03d0471ec555fecec3569f25cd1ace3ed (diff) |
[ifxmips] cleanup sources and prepare for 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13660 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/nfs/base-files')
-rwxr-xr-x | target/linux/ifxmips/nfs/base-files/etc/preinit.arch | 6 |
1 files changed, 4 insertions, 2 deletions
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 +} |