[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[patch] boot-floppies "busybox" compatibility for /etc/pcmcia/network



Package: pcmcia-cs
Version: 3.1.8-7
Severity: important

 `busybox' "mount" does not support the "-t" switch for anything but
 specifying the type of filesystem to mount.  Here's a patch.  I've
 created a test build ready for NMU, but I'd prefer that you do the
 upload yourself; we'll use my test build for `boot-floppies' until
 you have yours rolled out the door.

 The other required modifications have been made to `boot-floppies'.
 We now have a no-op `fuser' and `netstat', and `fgrep' just calls
 `grep'.  Additionally, our `mount' and `umount' now accept, but
 ignore, the "-v" switch.


--- network	2000/03/23 12:17:01	1.1
+++ network	2000/03/25 01:51:09
@@ -140,7 +140,7 @@
 		fi
 	    fi
 	}
-	mount -t nfs | sed -e 's/:.* on \(.*\) type .*/ \1/' | nfsstop
+	mount | fgrep nfs | sed -e 's/:.* on \(.*\) type .*/ \1/' | nfsstop
 
 	test "$IPX_NETNUM" && ipx_interface del $DEVICE $IPX_FRAME
 
@@ -179,7 +179,7 @@
 	    /sbin/ifuser $DEVICE $HOST && fuser -sm $MT && exit 1
 	done
     }
-    mount -t nfs | sed -e 's/:.* on \(.*\) type .*/ \1/' | nfscheck
+    mount | fgrep nfs | sed -e 's/:.* on \(.*\) type .*/ \1/' | nfscheck
 
     # Check for active TCP or UDP connections
     getdests ()


Reply to: