From c94e89d81f9a5cbbbb9c1cbdcb52e3379173a5a7 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Sun, 6 Jan 2002 01:08:28 +0000
Subject: Do not depend on PATH or getopt arg reordering

---
 init/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init/init.c b/init/init.c
index 3bb5de0f7..857fa380d 100644
--- 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
-- 
cgit v1.2.3