diff options
author | OpenWrt Developers <openwrt-devel@openwrt.org> | 2008-12-16 14:07:55 +0000 |
---|---|---|
committer | OpenWrt Developers <openwrt-devel@openwrt.org> | 2008-12-16 14:07:55 +0000 |
commit | 269f4bbc24d3061764c9ee37f2da31d3228bec9a (patch) | |
tree | 07dc39510a01c7dca62cd1d2a794c1800ecab6c2 /target/linux/ifxmips/nfs/base-files | |
parent | 9c2776b652d64041f98918b86f4554b7b678067c (diff) | |
download | master-187ad058-269f4bbc24d3061764c9ee37f2da31d3228bec9a.tar.gz master-187ad058-269f4bbc24d3061764c9ee37f2da31d3228bec9a.tar.bz2 master-187ad058-269f4bbc24d3061764c9ee37f2da31d3228bec9a.zip |
[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 +} |