diff --git a/packages/sysutils/busybox/patches/10_halt-no-init.diff b/packages/sysutils/busybox/patches/10_halt-no-init.diff new file mode 100644 index 0000000000..ce454f4c07 --- /dev/null +++ b/packages/sysutils/busybox/patches/10_halt-no-init.diff @@ -0,0 +1,12 @@ +diff -Naur busybox-1.13.2/init/halt.c busybox-1.13.2a/init/halt.c +--- busybox-1.13.2/init/halt.c 2008-11-09 18:28:19.000000000 +0100 ++++ busybox-1.13.2a/init/halt.c 2009-02-01 16:38:37.000000000 +0100 +@@ -79,7 +79,7 @@ + + /* Perform action. */ + rc = 1; +- if (!(flags & 4)) { /* no -f */ ++ if (ENABLE_INIT && !(flags & 4)) { /* no -f */ + //TODO: I tend to think that signalling linuxrc is wrong + // pity original author didn't comment on it... + if (ENABLE_FEATURE_INITRD) { diff --git a/packages/sysutils/busybox/patches/30_telnetd.diff b/packages/sysutils/busybox/patches/30_telnetd.diff new file mode 100644 index 0000000000..b87d313123 --- /dev/null +++ b/packages/sysutils/busybox/patches/30_telnetd.diff @@ -0,0 +1,11 @@ +--- busybox-1.10.0.orig/networking/telnetd.c 2008-04-06 05:23:30.000000000 +0200 ++++ busybox-1.10.0/networking/telnetd.c 2008-04-06 05:23:39.000000000 +0200 +@@ -56,7 +56,7 @@ + /* Globals */ + static int maxfd; + static struct tsession *sessions; +-static const char *loginpath = "/bin/login"; ++static const char *loginpath = "/bin/sh"; + static const char *issuefile = "/etc/issue.net"; + +