Commit graph

16 commits

Author SHA1 Message Date
Ben Gras
2746a5a2a9 Reported by Erik van der Kouwe <vdkouwe at cs.vu.nl>:
-  fprintf(stderr, "%s: reboot(): %s\n", strerror(errno));
+  fprintf(stderr, "%s: reboot(): %s\n", prog, strerror(errno));
  
Other minor fixes inspired by other warnings produced by gcc.
2007-07-02 11:16:27 +00:00
Ben Gras
f8b66e3d79 Kill everyone even in tinyhalt. This causes tty to important clean up. 2006-04-10 00:29:34 +00:00
Ben Gras
9f3cc391a2 Little bug in tinyhalt causing it not to recognize when called as reboot. 2006-04-09 23:24:37 +00:00
Ben Gras
aaf30491f3 write_log() after killing everyone. This improves the quality of
the reboot-check, as otherwise logout records can get written after
our reboot record.
2006-04-03 14:50:07 +00:00
Ben Gras
fb8c7e6fca Tinyhalt can't call REBOOT as PM can't deal with that any more. 2006-03-17 19:14:26 +00:00
Jorrit Herder
0619cce2ab *** empty log message *** 2006-03-13 10:33:50 +00:00
Ben Gras
7852300ec2 Don't beep (print bell characters) on rebooting 2005-10-19 10:36:10 +00:00
Jorrit Herder
eb5ed13fd3 New libary functions.
Cleanup of halt.c.
2005-10-12 15:10:14 +00:00
Ben Gras
a369d9c828 1 sync in shutdown procedure. 2005-10-05 15:07:08 +00:00
Ben Gras
c42fb551b8 ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
Ben Gras
5f2d97dfe6 Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
Ben Gras
a9b7d3a172 autopart fixes; halt sends SIGTERM; setup script without quotes;
MAKEDEV makes random and cmos when called with std
2005-08-05 19:16:12 +00:00
Ben Gras
f784f76891 Let halt shutdown system without fsck by checking for halt in wtmp
as well as shutdown
2005-08-04 13:41:31 +00:00
Jorrit Herder
ccd17ecfed New NOTIFY system call! Queued at kernel. Duplicate messages (with same source
and type) are overwritten with newer flags/ arguments. The interface from
within the kernel is lock_notify(). User processes can make a system call with
notify(). NOTIFY fully replaces the old notification mechanism.
2005-05-24 10:06:17 +00:00
Jorrit Herder
1ecc6bf3b3 Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
Ben Gras
9865aeaa79 Initial revision 2005-04-21 14:53:53 +00:00