summaryrefslogtreecommitdiff
path: root/recipes/nslu2-binary-only/unslung-rootfs/rc-diversion.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nslu2-binary-only/unslung-rootfs/rc-diversion.patch')
-rw-r--r--recipes/nslu2-binary-only/unslung-rootfs/rc-diversion.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/nslu2-binary-only/unslung-rootfs/rc-diversion.patch b/recipes/nslu2-binary-only/unslung-rootfs/rc-diversion.patch
new file mode 100644
index 0000000000..34e1e795cf
--- /dev/null
+++ b/recipes/nslu2-binary-only/unslung-rootfs/rc-diversion.patch
@@ -0,0 +1,10 @@
+--- nslu2-linksys-ramdisk-2.3r25/etc/rc~ 2004-07-27 23:37:55.000000000 -0400
++++ nslu2-linksys-ramdisk-2.3r25/etc/rc 2004-09-01 21:47:47.000000000 -0400
+@@ -1,4 +1,7 @@
+ ## Simple beta script to verify csr
++
++if ( [ -f /unslung/rc ] && . /unslung/rc ) ; then return 0 ; fi
++
+ /usr/bin/Set_Led r_blinking &
+ mount -t proc proc /proc
+ mount -o remount,rw /dev/root /