OSDN Git Service
(root)
/
android-x86
/
external-busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db2b9f3
)
Do not depend on PATH or getopt arg reordering
author
Eric Andersen
<andersen@codepoet.org>
Sun, 6 Jan 2002 01:08:28 +0000
(
01:08
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sun, 6 Jan 2002 01:08:28 +0000
(
01:08
-0000)
init/init.c
patch
|
blob
|
history
diff --git
a/init/init.c
b/init/init.c
index
3bb5de0
..
857fa38
100644
(file)
--- a/
init/init.c
+++ b/
init/init.c
@@
-615,9
+615,9
@@
static void check_memory(void)
#if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__)
if (stat("/etc/fstab", &statBuf) == 0) {
/* swapon -a requires /proc typically */
- waitfor("
mount proc /proc -t
proc", console, FALSE);
+ waitfor("
/bin/mount -t proc /
proc", console, FALSE);
/* Try to turn on swap */
- waitfor("swapon -a", console, FALSE);
+ waitfor("
/sbin/
swapon -a", console, FALSE);
if (check_free_memory() < 1000)
goto goodnight;
} else