aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-21 22:46:33 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-21 22:46:33 +0000
commit918507eddaa70b3f75196802b8f905f97bd5f5b6 (patch)
tree83f5bff33a0bb5d9087fdb64ea4e8da3d5e138db /docs
parent851ce895bdf33b95ccbfc67061f8949e36fad196 (diff)
downloadbusybox-918507eddaa70b3f75196802b8f905f97bd5f5b6.tar.gz
Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.
I added the docs, and made behavior identical to the GNU version. -Erik
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.pod17
-rw-r--r--docs/busybox.sgml23
2 files changed, 38 insertions, 2 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 4fba7eafa..a2d4e02bd 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -61,7 +61,7 @@ fdflush, find, free, freeramdisk, fsck.minix, getopt, grep, gunzip, gzip, halt,
head, hostid, hostname, id, init, insmod, kill, killall, length, ln,
loadacm, loadfont, loadkmap, logger, logname, ls, lsmod, makedevs, mkdir,
mkfifo, mkfs.minix, mknod, mkswap, mktemp, more, mount, mt, mv, nc,
-nslookup, ping, poweroff, printf, ps, pwd, reboot, renice, reset, rm, rmdir, rmmod, sed,
+nslookup, ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm, rmdir, rmmod, sed,
setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail,
tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq, update,
uptime, usleep, uudecode, uuencode, wc, which, whoami, yes, zcat, [
@@ -1422,6 +1422,19 @@ Example:
-------------------------------
+=item rdate
+
+Usage: rdate [OPTION] HOST
+
+Get and possibly set the system date and time from a remote HOST.
+
+Options:
+
+ -s Set the system date and time (default).
+ -p Print the date and time.
+
+-------------------------------
+
=item reboot
Instructs the kernel to reboot the system.
@@ -2094,4 +2107,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
-# $Id: busybox.pod,v 1.62 2000/08/21 22:02:34 andersen Exp $
+# $Id: busybox.pod,v 1.63 2000/08/21 22:46:33 andersen Exp $
diff --git a/docs/busybox.sgml b/docs/busybox.sgml
index f53be8d6f..d590237bf 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -2488,6 +2488,29 @@
</para>
</sect1>
+ <sect1 id="rdate">
+ <title>rdate</title>
+
+ <para>
+ Usage: rdate [OPTION] HOST
+ </para>
+
+ <para>
+ Get and possibly set the system date and time from a remote HOST.
+ </para>
+
+ <para>
+ Options:
+ </para>
+
+ <para>
+ <screen>
+ -s Set the system date and time (default).
+ -p Print the date and time.
+ </screen>
+ </para>
+ </sect1>
+
<sect1 id="reboot">
<title>reboot</title>