summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Change file permissions for some setuid executables so they are "o+r".neel2014-08-211-1/+1
| | | | | | | | | | | The executable itself doesn't contain any privileged information. An example of where this is useful is when makefs(8) is creating an image that includes /sbin/shutdown. This can now be done without root privileges. Reviewed by: delphij Discussed with: delphij, des CR: https://reviews.freebsd.org/D662
* For compatibility with Linux and Solaris add poweroff(8).pjd2010-12-301-0/+2
| | | | | | | | | | | It is implemented as a hard link to shutdown(8) and it is equivalent of: # shutdown -p now While I'm here put one line of usage into one line of C code so it is easier to grep(1) and separate unrelated code with empty line. MFC after: 2 weeks
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-2/+0
| | | | Submitted by: Ulrich Spörlein
* Use modern style defination for main() and move a externdelphij2005-01-251-0/+3
| | | | | | declaration to global section. Bump WARNS?= to 6
* Default to WARNS=2.obrien2001-12-041-1/+0
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Constify, de-register-ify, __unused-ify, and set WARNS=2.dd2001-07-151-0/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+1
|
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-1/+0
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+9
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud