summaryrefslogtreecommitdiffstats
path: root/recipes/nslu2-binary-only/unslung-rootfs/security-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nslu2-binary-only/unslung-rootfs/security-fixes.patch')
-rw-r--r--recipes/nslu2-binary-only/unslung-rootfs/security-fixes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/nslu2-binary-only/unslung-rootfs/security-fixes.patch b/recipes/nslu2-binary-only/unslung-rootfs/security-fixes.patch
new file mode 100644
index 0000000000..8517e7d06b
--- /dev/null
+++ b/recipes/nslu2-binary-only/unslung-rootfs/security-fixes.patch
@@ -0,0 +1,11 @@
+--- nslu2-linksys-ramdisk-2.3r29/etc/rc.d/rc.1.orig 2005-06-12 21:43:26.940523728 +0930
++++ nslu2-linksys-ramdisk-2.3r29/etc/rc.d/rc.1 2005-06-12 21:43:36.910008136 +0930
+@@ -19,7 +19,7 @@
+ #/bin/echo "Generating telnet password:"; /usr/sbin/TelnetPassword; check_status
+ /bin/echo "Starting WEB Server:"; . /etc/rc.d/rc.thttpd;check_status
+ /bin/echo "Starting samba:"; . /etc/rc.d/rc.samba
+-/bin/echo "Starting download:"; /usr/sbin/download
++#/bin/echo "Starting download:"; /usr/sbin/download
+ /bin/echo "Starting INET Server:"; . /etc/rc.d/rc.xinetd; check_status
+ if ( [ ! -f /.sda1root ] && [ ! -f /.sda2root ] && [ ! -f /.sdb1root ] && [ ! -f /.sdb2root ] ) ; then
+ /bin/echo "Creating ramfs for /tmp:"; mount -t ramfs none /tmp -o maxsize=512