summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorErik Andersen2000-03-05 07:52:05 +0000
committerErik Andersen2000-03-05 07:52:05 +0000
commit66be5e7e29ad6fa457376996b4c08d307b92a6f1 (patch)
tree6728a78fe0cbe9ee36ca504dd10b3584983b9a06 /applets
parent6437170cb31302d8525cd6fcbe0a2efad386ab9d (diff)
downloadbusybox-66be5e7e29ad6fa457376996b4c08d307b92a6f1.zip
busybox-66be5e7e29ad6fa457376996b4c08d307b92a6f1.tar.gz
Wrote uptime. Doesn't use /proc. :)
-Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index ccf80a7..9918013 100644
--- a/applets/busybox.c
+++ b/applets/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},