mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
various fixes
This commit is contained in:
parent
1867b99230
commit
a6544dee44
12
packages/sysutils/busybox/patches/10_halt-no-init.diff
Normal file
12
packages/sysutils/busybox/patches/10_halt-no-init.diff
Normal 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) {
|
11
packages/sysutils/busybox/patches/30_telnetd.diff
Normal file
11
packages/sysutils/busybox/patches/30_telnetd.diff
Normal 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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user