Commit c40cd72d authored by Alessandro Rubini's avatar Alessandro Rubini

userspace: bugfix: S40network for nfsroot

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 1d3e3f92
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
#ifplugd -i eth0 #ifplugd -i eth0
#udhcpc -n #udhcpc -n
rootloc=`mount | grep rootfs | grep nfs` if grep -q '/ nfs' /proc/mounts; then
if [ "$rootloc" != "" ]; then
echo "Running via NFS, no ifplugd." echo "Running via NFS, no ifplugd."
else else
echo "Starting ifplugd..." echo "Starting ifplugd..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment