diff options
author | Thomas Langer <thomas.langer@lantiq.com> | 2008-12-16 14:07:55 +0000 |
---|---|---|
committer | Thomas Langer <thomas.langer@lantiq.com> | 2008-12-16 14:07:55 +0000 |
commit | 7570eebcdd5628978cbdbab2fb7cb99abbc62360 (patch) | |
tree | 46e045fd88294505c849b475f46e1556278ae300 /target/linux/ifxmips/nfs/base-files | |
parent | e7336673b14fe311ae493eee86ba8983792bcf02 (diff) | |
download | upstream-7570eebcdd5628978cbdbab2fb7cb99abbc62360.tar.gz upstream-7570eebcdd5628978cbdbab2fb7cb99abbc62360.tar.bz2 upstream-7570eebcdd5628978cbdbab2fb7cb99abbc62360.zip |
cleanup sources and prepare for 2.6.27
SVN-Revision: 13660
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 +} |