summaryrefslogtreecommitdiff
path: root/sbin/reboot
AgeCommit message (Collapse)Author
2017-08-22reboot: don't wait for processes to die if there are noneStefan Fritsch
If processes are already dead, reduce wait times between SIGTERM and SIGKILL and wait time after SIGKILL. The reboot syscall will cause another sync later on, therefore the long wait times are not necessary for disk i/o, either. "makes sense" deraadt@
2017-06-16s/CPU_LIDSUSPEND/CPU_LIDACTION/Martin Natano
ok mlarkin
2017-03-02Add a new sysctl machdep.lidaction. The sysctl works as follows:Martin Natano
machdep.lidaction=0 # do nothing machdep.lidaction=1 # suspend machdep.lidaction=2 # hibernate lidsuspend is just an alias for lidaction, so if you change one, the other one will have the same value. The plan is to remove machdep.lidsuspend eventually when people have upgraded their /ets/sysctl.conf. discussed with deraadt, who came up with the new MIB name no objections mlarkin ok stsp halex jcs
2016-09-03no more boot_zaurus.8;Jason McIntyre
2016-09-01remove references to sparcTed Unangst
2016-08-27Pull in <sys/time.h> for struct timespecPhilip Guenther
<sys/fcntl.h> shouldn't be used by userspace; this already uses <fcntl.h> ok deraadt@
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2015-12-01Send Aviion to same place as Nova IITheo de Raadt
discussed with jsg
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-07-14powerdown=YES has been removed.Martin Pelikan
ok deraadt
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2013-02-09Ignore sysctl failure for CPU_LIDSUSPEND when errno is EOPNOTSUPP.Todd C. Miller
Just because CPU_LIDSUSPEND is defined in cpu.h does mean it is actually supported by the hardware. OK miod@ kettenis@
2012-07-10disable lidsuspend on shutdownAlexander Hall
ok phessler@ mpf@ pirofti@ mpi@
2012-06-20no more boot_mac68k(8);Jason McIntyre
2011-07-08Rename 'rc_scripts' to 'pkg_scripts' to make it clear this variable is forAntoine Jacoutot
packages _only_. One is not supposed to add any base scripts in it. naddy@ doesn't care (I think he does care but he won't admit it) ok robert@ (I'll add something to current.html in a few)
2011-07-07remove mvmeppc; it is really rough shape. ok drahn miodTheo de Raadt
2011-04-22Move things around after recent rc(8) changes.Antoine Jacoutot
ok robert@ jmc@
2010-07-23Block all signals before sending SIGTERM to all non-system processes.Todd C. Miller
This ensures that we reach the call to reboot(2) without being killed by some other process. OK deraadt@ nicm@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-11-19remove another list which just keeps going out of date;Jason McIntyre
2007-08-01cats went awayTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-11it's silly for reboot to poweroff. adapted from diff by diana eichertTed Unangst
2006-06-01delintDavid Hill
ok moritz
2006-05-09Administrative changes for aviion, ok deraadt@Miod Vallat
2006-04-08document "powerdown" in rc.shutdown;Jason McIntyre
based on diffs from henning, and ok him too...
2006-04-06if "/etc/rc shutdown" exits 2, attempt powerdown. it does so ifHenning Brauer
rc.shutdown sets powerdown to YES. From: Michele 'mydecay' Marchetto <mydecay@openbeer.it> but didn't apply, so I redid & added comment to clarify ok mickey theo
2005-12-09add some missing boot_ pages;Jason McIntyre
2005-05-19p's and q's;Jason McIntyre
2005-01-14`halt -p' works on some zaurus platforms (C3000).Uwe Stuehler
ok drahn@
2004-07-09variety of cleanups; nofsk@aanet.com.au and ITheo de Raadt
2004-04-21Mention that luna88k can poweroff; also add an boot_amd64(8) reference while ↵Miod Vallat
there.
2003-09-02Xref boot_mvme88kMiod Vallat
2003-08-21More boot_foo Xr are valid now.Miod Vallat
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14gotta xref boot_hppa from hereMichael Shalayeff
2003-02-27Refer to reboot(2). Other commands from section 8 (mount, chown) referChad Loder
to their section 2 counterparts. OK jmc@
2002-12-31Prepare for the removal of amiga and sun3 platforms from the tree.Miod Vallat
There has not been enough activity and interest towards these platform to keep them lying in the tree.
2002-07-03ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-27sync -p arch support list with shutdown(8); from Jason Ackley <jason@ackley.net>Peter Valchev
2001-09-20Comment out Xr to missing boot_foo(8) pages.Miod Vallat
2001-07-19#include <termios.h>Todd C. Miller
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-05Alphabetize SEE ALSO entries; mpech@prosoft.org.lvAaron Campbell
2001-06-04return from main() don't exitMichael Shalayeff
2001-01-28remove i386 md note per Theo's requestMarco S Hyman