On Wed, 25 Apr 2007, Diana Eichert wrote:my quick hack # diff -u sbin/reboot/reboot.c.orig sbin/reboot/reboot.c --- sbin/reboot/reboot.c.orig Wed Apr 25 18:45:23 2007 +++ sbin/reboot/reboot.c Wed Apr 25 18:47:50 2007 @@ -201,8 +201,10 @@ default: /* rc exits 2 if powerdown=YES in rc.shutdown */ waitpid(pid, &status, 0); - if (WIFEXITED(status) && WEXITSTATUS(status) == 2) - howto |= RB_POWERDOWN; + if (dohalt) { + if (WIFEXITED(status) && WEXITSTATUS(status) == 2) + howto |= RB_POWERDOWN; + } } } # "shutdown -r now" and "reboot" now run rc.shutdown, sync disks and reboot as expected diana
| Ingo Molnar | Re: [PATCH 00/34] AMD IOMMU driver |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Ryan Hope | reiser4 for 2.6.27-rc1 |
git: | |
| Linus Torvalds | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Jon Smirl | Re: VCS comparison table |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Dmitry Kakurin | Re: Git on MSys (or how to make it easy for Windows users to compile git) |
| Octavian Purdila | race in skb_splice_bits? |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| Ingo Molnar | Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten |
| Rick Jones | Re: 2.6.24 BUG: soft lockup - CPU#X |
| Richard Stallman | Real men don't attack straw men |
| chefren | Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD |
| Pieter Verberne | File collision while using pkg_add |
| Jason Dixon | Re: Hardware recommendation for firewalls (more than 4 NICs) |
