netbase: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:43:10 +0000 (15:43 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:54 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
recipes/netbase/netbase/slugos/if-pre-up.d/test-nfsroot

index bbfd7d9..1defbb6 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-if [ X"$IFACE" == "Xeth0" ] ; then
+if [ X"$IFACE" = "Xeth0" ] ; then
   nfsroot=`grep ' / nfs ' /proc/mounts`
   if [ -n "$nfsroot" ]; then
     echo "WARNING: Refusing to ifup eth0 when booted to a nfs-mounted rootfs."