Re: init/umount problem persists
Hi.
In <[🔎] 20000208213301.A5492@xmission.com>,
at Date: Tue, 8 Feb 2000 21:33:01 -0700,
on Subject: Re: init/umount problem persists,
Erik Andersen <andersen@xmission.com> writes:
andersen> Fixed now in CVS. Please take a look, pound on it,
andersen> and generally see if you can find any bugs. Thanks
andersen> for all your help on this bug!
I glanced it, and found these. Maybe you were overworked to fix this,
and did these trivial typos. Your work is excellent in general, I think.
I have not tested this practically. I will do it tomorrow night (maybe).
--- init.c.0 Wed Feb 9 23:51:01 2000
+++ init.c Wed Feb 9 23:51:44 2000
@@ -455,7 +455,7 @@
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 @@
/* 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 */
Regards.
--
Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>
Reply to: