summaryrefslogtreecommitdiffstats
path: root/recipes/nslu2-binary-only/unslung-rootfs/mount_usbdevfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nslu2-binary-only/unslung-rootfs/mount_usbdevfs.patch')
-rw-r--r--recipes/nslu2-binary-only/unslung-rootfs/mount_usbdevfs.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/nslu2-binary-only/unslung-rootfs/mount_usbdevfs.patch b/recipes/nslu2-binary-only/unslung-rootfs/mount_usbdevfs.patch
new file mode 100644
index 0000000000..744636d0d9
--- /dev/null
+++ b/recipes/nslu2-binary-only/unslung-rootfs/mount_usbdevfs.patch
@@ -0,0 +1,10 @@
+--- nslu2-linksys-ramdisk-2.3r25/etc/rc.orig 2004-11-03 14:38:45.838082343 +1100
++++ nslu2-linksys-ramdisk-2.3r25/etc/rc 2004-11-03 16:27:08.572763797 +1100
+@@ -4,6 +4,7 @@
+
+ /usr/bin/Set_Led r_blinking &
+ mount -t proc proc /proc
++mount -t usbdevfs usbdevfs /proc/bus/usb
+ mount -o remount,rw /dev/root /
+ ifconfig lo 127.0.0.1
+ route add -net 127.0.0.0 netmask 255.255.255.0 lo