various fixes

This commit is contained in:
Stephan Raue 2009-04-18 22:06:12 +02:00
parent 1867b99230
commit a6544dee44
2 changed files with 23 additions and 0 deletions

View File

@ -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) {

View File

@ -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";