diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-13 01:18:56 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-13 01:18:56 +0000 |
commit | 61677feff7f549a48267c2c0c50a7420de6e2599 (patch) | |
tree | 1ea829e51641647a35c552e289f4482ab9f5db27 /init | |
parent | 62dc17a3b100496a5c7433cc598d674e244cb6f8 (diff) | |
download | busybox-61677feff7f549a48267c2c0c50a7420de6e2599.tar.gz |
Upates to include copyright 2000 to everything
-Erik
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 033eb519f..e8a5f74d3 100644 --- a/init/init.c +++ b/init/init.c @@ -471,8 +471,10 @@ static void check_memory() return; if (stat("/etc/fstab", &statBuf) == 0) { + /* swapon -a requires /proc typically */ + waitfor("mount proc /proc -t proc", console, FALSE); /* Try to turn on swap */ - system("/sbin/swapon -a"); + waitfor("swapon -a", console, FALSE); if (check_free_memory() < 1000) goto goodnight; } else |