Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-05 10:52:05 +0300
committerErik Andersen <andersen@codepoet.org>2000-03-05 10:52:05 +0300
commit66be5e7e29ad6fa457376996b4c08d307b92a6f1 (patch)
tree6728a78fe0cbe9ee36ca504dd10b3584983b9a06 /busybox.c
parent6437170cb31302d8525cd6fcbe0a2efad386ab9d (diff)
Wrote uptime. Doesn't use /proc. :)
-Erik
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/busybox.c b/busybox.c
index ccf80a75e..991801310 100644
--- a/busybox.c
+++ b/busybox.c
@@ -268,11 +268,14 @@ static const struct Applet applets[] = {
#ifdef BB_TTY //usr/bin
{"tty", tty_main},
#endif
+#ifdef BB_UMOUNT //bin
+ {"umount", umount_main},
+#endif
#ifdef BB_UNAME //bin
{"uname", uname_main},
#endif
-#ifdef BB_UMOUNT //bin
- {"umount", umount_main},
+#ifdef BB_UPTIME //usr/bin
+ {"uptime", uptime_main},
#endif
#ifdef BB_UNIQ //bin
{"uniq", uniq_main},