actually, we need the android lsmod to be a builtin not an alias…
This commit is contained in:
7
main.c
7
main.c
@ -33,7 +33,7 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.183 2011/03/16 20:43:34 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.184 2011/03/16 20:56:33 tg Exp $");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@ -70,10 +70,7 @@ static const char *initcoms[] = {
|
||||
/* not "alias -t --": hash -r needs to work */
|
||||
"hash=alias -t",
|
||||
"type=whence -v",
|
||||
#if defined(ANDROID)
|
||||
/* evil hack */
|
||||
"lsmod=cat /proc/modules",
|
||||
#elif !defined(MKSH_UNEMPLOYED)
|
||||
#if !defined(ANDROID) && !defined(MKSH_UNEMPLOYED)
|
||||
/* not in Android for political reasons */
|
||||
/* not in ARGE mksh due to no job control */
|
||||
"stop=kill -STOP",
|
||||
|
Reference in New Issue
Block a user