summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2002-07-21 16:50:49 +0000
committerRobert Griebl <griebl@gmx.de>2002-07-21 16:50:49 +0000
commit1cd044549531ef1c4016ec3c60652dad95b1617f (patch)
treed552f7d94cac8240a89a5e498b73c0c60299de2c /include
parentfc78b795758ad04caeadfbb2bbb75e6cefa03785 (diff)
downloadbusybox-w32-1cd044549531ef1c4016ec3c60652dad95b1617f.tar.gz
busybox-w32-1cd044549531ef1c4016ec3c60652dad95b1617f.tar.bz2
busybox-w32-1cd044549531ef1c4016ec3c60652dad95b1617f.zip
Initial checkin of a very primitive hwclock replacement
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index b6397a656..6b8bce7e0 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -218,6 +218,9 @@
218#ifdef CONFIG_HUSH 218#ifdef CONFIG_HUSH
219 APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN, _BB_SUID_NEVER) 219 APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
220#endif 220#endif
221#ifdef CONFIG_HWCLOCK
222 APPLET(hwclock, hwclock_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
223#endif
221#ifdef CONFIG_ID 224#ifdef CONFIG_ID
222 APPLET(id, id_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 225 APPLET(id, id_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
223#endif 226#endif
diff --git a/include/usage.h b/include/usage.h
index 87678f5e9..b7b1ac65d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -700,6 +700,17 @@
700 "$ hostname\n" \ 700 "$ hostname\n" \
701 "sage \n" 701 "sage \n"
702 702
703#define hwclock_trivial_usage \
704 "[-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc]"
705#define hwclock_full_usage \
706 "Query and set the hardware clock (RTC)\n\n" \
707 "Options:\n" \
708 "\t-r\tread hardware clock and print result\n" \
709 "\t-s\tset the system time from the hardware clock\n" \
710 "\t-w\tset the hardware clock to the current system time\n" \
711 "\t-u\tthe hardware clock is kept in coordinated universal time\n" \
712 "\t-l\tthe hardware clock is kept in local time"
713
703#define id_trivial_usage \ 714#define id_trivial_usage \
704 "[OPTIONS]... [USERNAME]" 715 "[OPTIONS]... [USERNAME]"
705#define id_full_usage \ 716#define id_full_usage \