aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorJoel Dahl <joel@FreeBSD.org>2013-03-19 21:40:14 +0000
committerJoel Dahl <joel@FreeBSD.org>2013-03-19 21:40:14 +0000
commit7cf62795b7d465afe59de54dc39f3ba68184cfdd (patch)
tree05dd005dd7b54aaa31ee5dfb0acfa23e92afef5e /sbin/shutdown
parentc2e3c52e0d10026daec4e18f1d5c8ac55839f985 (diff)
downloadsrc-7cf62795b7d465afe59de54dc39f3ba68184cfdd.tar.gz
src-7cf62795b7d465afe59de54dc39f3ba68184cfdd.zip
Add simple example.
Notes
Notes: svn path=/head/; revision=248535
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.87
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8
index b7067e12fff7..871efbed8b06 100644
--- a/sbin/shutdown/shutdown.8
+++ b/sbin/shutdown/shutdown.8
@@ -28,7 +28,7 @@
.\" @(#)shutdown.8 8.2 (Berkeley) 4/27/95
.\" $FreeBSD$
.\"
-.Dd July 13, 2011
+.Dd March 19, 2013
.Dt SHUTDOWN 8
.Os
.Sh NAME
@@ -189,6 +189,11 @@ tells
.Xr login 1
not to let anyone log in
.El
+.Sh EXAMPLES
+Reboot the system in 30 minutes and display a warning message on the terminals
+of all users currently logged in:
+.Pp
+.Dl # shutdown -r +30 \&"System will reboot\&"
.Sh COMPATIBILITY
The hours and minutes in the second time format may be separated by
a colon (``:'') for backward compatibility.