diff -u3 -Nr etc/init.d/hostname.sh /tmp/flash/etc/init.d/hostname.sh
--- etc/init.d/hostname.sh	Sat May  4 06:57:48 2002
+++ /tmp/flash/etc/init.d/hostname.sh	Wed May  8 21:14:16 2002
@@ -4,5 +4,5 @@
 # Version:	@(#)hostname.sh  1.00  22-Jun-1998  miquels@cistron.nl
 #
 
-hostname --file /etc/hostname
+hostname -F /etc/hostname
 
diff -u3 -Nr etc/init.d/initd-usbnet /tmp/flash/etc/init.d/initd-usbnet
--- etc/init.d/initd-usbnet	Wed Apr 24 23:46:50 2002
+++ /tmp/flash/etc/init.d/initd-usbnet	Thu Jan  1 01:00:00 1970
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# chkconfig: 345 45 96
-# processname: usbnet
-
-usage ()
-{
-        echo "Usage: $0 {start|stop|status}"
-}
-
-if [ $# -lt 1 ] ; then usage ; fi
-action=$1
-case "$action" in
-     start)
-        modprobe usb-eth
-        ifup usbf
-        ;;
-    stop)
-        ifdown usbf
-        modprobe -r usb-eth
-        ;;
-    status)
-        ifconfig usbf
-        ;;
-    *)
-        usage
-        ;;
-esac
-                
\ No newline at end of file
diff -u3 -Nr etc/init.d/modutils /tmp/flash/etc/init.d/modutils
--- etc/init.d/modutils	Sat May  4 06:57:50 2002
+++ /tmp/flash/etc/init.d/modutils	Wed May  8 21:16:12 2002
@@ -10,7 +10,7 @@
 # This is to make depmod and modprobe shut up about file timestamps. -- a7r
 touch /etc/modules.conf
 
-if [ -r /lib/modules/2.4.1-0.1.9smp/modules.dep ]; then
+if [ -r /lib/modules/`uname -r`/modules.dep ]; then
 	echo "Not recalculating module dependencies"
 else
 	echo -n "Calculating module dependencies... "
@@ -35,10 +35,12 @@
 # Just in case a sysadmin prefers generic symbolic links in
 # /lib/modules/boot for boot time modules we will load these modules
 #
-if [ -n "`modprobe -l -t boot`" ]
-then
-        modprobe -a -t boot \*
-fi
+# BB modprobe doesn't support -t and wildcards (rg)
+#
+#if [ -n "`modprobe -l -t boot`" ]
+#then
+#        modprobe -a -t boot \*
+#fi
 
 exit 0
 
diff -u3 -Nr etc/init.d/mountall.sh /tmp/flash/etc/init.d/mountall.sh
--- etc/init.d/mountall.sh	Sat May  4 06:57:48 2002
+++ /tmp/flash/etc/init.d/mountall.sh	Wed May  8 21:17:08 2002
@@ -9,9 +9,9 @@
 # Mount local file systems in /etc/fstab.
 #
 [ "$VERBOSE" != no ] && echo "Mounting local filesystems..."
-mount -avt nonfs,noproc,nosmbfs
+mount -avt nonfs,noproc,nosmbfs,notmpfs
 
-mount -t proc proc /proc
+#mount -t proc proc /proc
 
 #
 # We might have mounted something over /dev, see if /dev/initctl is there.
diff -u3 -Nr etc/init.d/pcmcia /tmp/flash/etc/init.d/pcmcia
--- etc/init.d/pcmcia	Sat Dec  2 06:44:09 2000
+++ /tmp/flash/etc/init.d/pcmcia	Thu May  9 02:42:52 2002
@@ -71,7 +71,7 @@
 	if [ -L $SC -o ! -O $SC ] ; then rm -f $SC ; fi
 	if [ ! -f $SC ] ; then umask 022 ; touch $SC ; fi
 	if [ "$SCHEME" ] ; then umask 022 ; echo $SCHEME > $SC ; fi
-	grep -q -F pcmcia /proc/devices
+	grep -q pcmcia /proc/devices
 	if [ $? -ne 0 ] ; then
 	    if [ -d /lib/modules/preferred ] ; then
 		PC=/lib/modules/preferred/pcmcia
@@ -113,7 +113,7 @@
 	kill -0 $PID 2>/dev/null && sleep 2 && \
 	kill -0 $PID 2>/dev/null && sleep 2 && \
 	kill -0 $PID 2>/dev/null 
-	if fgrep -q "ds  " /proc/modules ; then
+	if grep -q "ds  " /proc/modules ; then
 	    echo -n " modules"
 	    /sbin/rmmod ds
 	    /sbin/rmmod $PCIC
diff -u3 -Nr etc/init.d/usbnet /tmp/flash/etc/init.d/usbnet
--- etc/init.d/usbnet	Thu Jan  1 01:00:00 1970
+++ /tmp/flash/etc/init.d/usbnet	Thu May  9 02:51:02 2002
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# usbnet 
+# start/stop USB networking
+# by Robert Griebl <griebl@gmx.de> 
+#
+
+usage ( )
+{
+  echo "Usage: $0 {start|stop|status}"
+}
+
+if [ $# -lt 1 ] ; then usage ; break ; fi
+
+action=$1
+case "$action" in
+  start)
+    /sbin/modprobe usb-eth
+    /sbin/ifdown usbf 2>/dev/null ## busybox patch
+    /sbin/ifup usbf
+  ;;
+  stop)
+    /sbin/ifdown usbf
+    /sbin/modprobe -r usb-eth
+  ;;
+  status)
+    /sbin/ifconfig usbf
+  ;;
+  *)
+    usage
+  ;;
+esac
+
+# Only exit if we're in our own subshell
+if [ "${0##/}" = "usbnet" ] ; then
+  exit 0
+fi

