From 8979da6fa2089e74b2a544b945c7b7117aaf3a4c Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 9 Feb 2000 16:37:08 +0000 Subject: Fix stupid typos -- thanks to Taketoshi Sano for noticing these bugs. -Erik git-svn-id: svn://busybox.net/trunk/busybox@361 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- init/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init') diff --git a/init/init.c b/init/init.c index 0157873ab..b59e9a147 100644 --- a/init/init.c +++ b/init/init.c @@ -455,7 +455,7 @@ static void check_memory() if (stat("/etc/fstab", &statBuf) == 0) { /* Try to turn on swap */ - system("/sbin/swapon swapon -a"); + system("/sbin/swapon -a"); if (mem_total() < 3500) goto goodnight; } else @@ -705,7 +705,7 @@ void parse_inittab(void) /* No inittab file -- set up some default behavior */ #endif /* Swapoff on halt/reboot */ - new_initAction(CTRLALTDEL, "/bin/umount -a -r > /dev/null 2>&1", console); + new_initAction(CTRLALTDEL, "/sbin/swapoff -a > /dev/null 2>&1", console); /* Umount all filesystems on halt/reboot */ new_initAction(CTRLALTDEL, "/bin/umount -a -r > /dev/null 2>&1", console); /* Askfirst shell on tty1 */ -- cgit v1.2.3-55-g6feb