diff options
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs/security-fixes.patch')
-rw-r--r-- | packages/nslu2-binary-only/unslung-rootfs/security-fixes.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs/security-fixes.patch b/packages/nslu2-binary-only/unslung-rootfs/security-fixes.patch index e69de29bb2..aeed5980f8 100644 --- a/packages/nslu2-binary-only/unslung-rootfs/security-fixes.patch +++ b/packages/nslu2-binary-only/unslung-rootfs/security-fixes.patch @@ -0,0 +1,16 @@ +--- 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 +@@ -16,11 +16,11 @@ + + /bin/echo "Restore time and timezone:"; /etc/rc.d/rc.rstimezone; check_status + /bin/echo "Restore usrgrpshares:"; /etc/rc.d/rc.reset_usrgrpshare; check_status +-/bin/echo "Generating telnet password:"; /usr/sbin/TelnetPassword; check_status ++#/bin/echo "Generating telnet password:"; /usr/sbin/TelnetPassword; check_status + #/bin/echo "Restore time and timezone:"; /etc/rc.d/rc.rstimezone; 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 |