aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Change file permissions for some setuid executables so they are "o+r".Neel Natu2014-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 Notes: svn path=/head/; revision=270289
* For compatibility with Linux and Solaris add poweroff(8).Pawel Jakub Dawidek2010-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 Notes: svn path=/head/; revision=216823
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-2/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Use modern style defination for main() and move a externXin LI2005-01-251-0/+3
| | | | | | | | | declaration to global section. Bump WARNS?= to 6 Notes: svn path=/head/; revision=140796
* Default to WARNS=2.David E. O'Brien2001-12-041-1/+0
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Set BINOWN=root explicitly for setuid root binaries.Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=83391
* Constify, de-register-ify, __unused-ify, and set WARNS=2.Dima Dorfman2001-07-151-0/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79749
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74531
* Remove useless `BINOWN=root' now that it is the default.David E. O'Brien1998-09-191-1/+0
| | | | Notes: svn path=/head/; revision=39495
* Convert to our man installation style. Also fixed long-standing bugGarrett Wollman1994-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. Notes: svn path=/head/; revision=1855
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+9
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558