summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch')
-rw-r--r--packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch b/packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch
index e69de29bb2..fb4e1982f2 100644
--- a/packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch
+++ b/packages/nslu2-binary-only/unslung-rootfs/initialise-mtab.patch
@@ -0,0 +1,8 @@
+--- nslu2-linksys-ramdisk-2.3r25/etc/rc~ 2004-11-21 21:43:35.000000000 +1030
++++ nslu2-linksys-ramdisk-2.3r25/etc/rc 2004-11-21 21:49:54.000000000 +1030
+@@ -6,2 +6,5 @@
+ mount -t proc proc /proc
+ mount -o remount,rw /dev/root /
++
++sed -n -e '/^#/p' < /etc/fstab > /etc/mtab
++