Elliott Hughes
eea3c0e601
Lose ps to toybox.
...
Change-Id: I890a453533e1b3066169738f55314f8813285c17
2016-05-04 15:20:02 -07:00
Elliott Hughes
72886ce0af
Remove toolbox iftop.
...
It's nothing like the real iftop, and there's no evidence anyone uses it.
In particular, it hasn't been touched since it was first checked in, back
in 2008. So it's either perfect or unused. Let's find out...
Change-Id: I941adbb67f0166b9b3bd796291060bd67eafa867
2016-04-16 09:08:05 -07:00
Elliott Hughes
ad2c07e4b5
Clean up toolbox runner slightly.
...
Remove the weird @command syntax, and make toolbox itself list the available
commands, like toybox does. Also stop special-casing toolbox itself.
Change-Id: I77dfaaf0cf42e375d866b77362dd8afa717fb2e1
2016-04-11 17:45:49 -07:00
Elliott Hughes
15ca17cabc
Remove toolbox prlimit.
...
Use /system/bin/ulimit -p instead.
Change-Id: I4f2e2f2f2ac98de9ce57a7def3636669ea0034fe
2016-03-07 14:02:32 -08:00
Dimitry Ivanov
0bb350a04c
Add missing liblog dependency
...
Bug: http://b/27171986
Change-Id: I43fe595c05f5584e76d0359c42c8dc006bd3f5c5
2016-02-12 16:39:09 -08:00
Elliott Hughes
bd02a47b22
Fix generation of event labels for getevent.
...
The recent uapi header update moved all the interesting constants
out into another file. Track that, and add the missing makefile
dependency.
Bug: http://b/27073568
Change-Id: I8ac1dd1122865479f69a76cbf427d4aacdf7b790
2016-02-08 14:56:03 -08:00
Elliott Hughes
cca6019108
Lose df to toybox.
...
Change-Id: I4c8e6c1071779914969cc7f5a80fe6248b508405
2015-10-23 11:09:53 -07:00
Elliott Hughes
5cf29bc9f9
Lose du to toybox.
...
Change-Id: Ib240f74990274027258a454d3c63202791fcdb0b
2015-09-14 10:37:52 -07:00
Elliott Hughes
42325f073c
Lose lsof to toybox.
...
Change-Id: I4b5e0c8c33f5b2dfd3db85628d9a657940978a10
2015-09-11 10:58:21 -07:00
Elliott Hughes
ce98fc40fd
Merge "Lose ls to toybox."
2015-09-03 20:58:58 +00:00
Elliott Hughes
e66be4dd76
Lose ls to toybox.
...
Bug: http://b/23040458
Change-Id: I0e9f89b1169df409a38a2134ac2cb9edd0421be3
2015-08-31 12:45:47 -07:00
Elliott Hughes
49ef9c0fc0
Lose uptime to toybox.
...
Let's see if anyone actually needs the non-POSIX information...
Change-Id: I0bb63b3a81f6295d281a661bd941a26fef675598
2015-08-17 10:49:42 -07:00
Elliott Hughes
17ddfcb282
Lose ionice and renice to toybox.
...
Change-Id: I77264e70aeff5a2320ce178c8e7176b67b898bd9
2015-08-14 15:35:33 -07:00
Elliott Hughes
e8606c85c5
Remove watchprops.
...
Since watchprops would have to be rewritten anyway in the upcoming properties
rewrite, there seems little point in rewriting it for toybox first. Let's
see how many people actually use watchprops and decide whether it's worth
the effort...
Change-Id: I996e7209bc81633ee66602f09f130226336d9987
2015-08-10 19:27:18 -07:00
Andreas Gampe
3294ad163f
Toolbox: Disable unused-const-variable warning
...
For build-system CFLAGS clean-up, disable unused-const-variable
warning.
Bug: 18632512
Change-Id: I1be1ac744f8c77bd0a8378578072285a2c035245
2015-07-30 11:52:11 -07:00
Elliott Hughes
24d41e76e7
Switch to toybox mount(1).
...
Change-Id: Ieda6e2bfbf5ea3e9a96f5facfded4c2a467e4a02
2015-06-08 14:52:25 -07:00
Elliott Hughes
6e83c3d76d
Make start/stop warn if you're not root.
...
Bug: https://code.google.com/p/android/issues/detail?id=165602
Change-Id: Ia1e2de1697d971381b0c949fdaaeff424ab8bf32
2015-06-05 17:01:01 -07:00
Elliott Hughes
88f0f4b2b4
Revert "Switch to toybox ls."
...
This reverts commit 9c94aa9982
.
Change-Id: Ie2479ee4a0614e285ce8d57c727200a0381904e2
2015-05-16 06:28:10 +00:00
Elliott Hughes
9c94aa9982
Switch to toybox ls.
...
Bug: http://b/21171466
Change-Id: I3fa09db7ca43d337cbda60f10269e7607544982b
2015-05-15 16:54:35 -07:00
Elliott Hughes
cf5f9b99cb
Move ls implementation detail into ls.
...
Also remove the unused generality, and remove a dependency on a linux/
header file when there's a sys/ one that's even better.
Change-Id: If07608cc9ae2b7c2928ee2a9e33d20d63a9a8f45
2015-04-08 11:38:16 -07:00
Elliott Hughes
5b50fc3d3a
Lose getprop to toybox.
...
Change-Id: I5188dbcc7e248b2fabade2d8d137610b4adb3164
2015-04-07 22:32:49 -07:00
Elliott Hughes
3da8e5ea97
Lose setprop to toybox.
...
Change-Id: Ic0fd9cfb70e117067f4ebc5e120dea4b5fe1d883
2015-04-07 15:59:07 -07:00
Elliott Hughes
877dfc2896
Lose restorecon to toybox.
...
Change-Id: I5460f46700011b7733a1d87a9049e828531627be
2015-04-07 14:45:07 -07:00
Elliott Hughes
17cb719e10
Lose umount to toybox.
...
Change-Id: Ide35731c37d70ccb38a5e84b7310434ce6c3aa6e
2015-04-02 21:24:34 -07:00
Elliott Hughes
bcc2b5f44a
Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.
...
Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
2015-04-02 14:31:07 -07:00
Elliott Hughes
798ec0c39d
Lose route to toybox.
...
Change-Id: If68fa6a691478921452ebd785bd35e3ba5a8470a
2015-03-30 11:23:44 -07:00
Elliott Hughes
f29940559a
Lose load_policy to toybox.
...
Change-Id: I3ef3aab9eef8e07ee598e2559a316e2fccf7199b
2015-03-28 13:29:05 -07:00
Elliott Hughes
c7f3c5c10c
Auto-generate the getevent labels from <linux/input.h>.
...
Now we only have to remember to update the kernel uapi headers, which
we're pretty good at.
Change-Id: If04eb8c50882fff5e5e2a5d72664f5d4c4c538b1
2015-03-25 17:34:22 -07:00
Elliott Hughes
addb229c72
Lose runcon to toybox.
...
Change-Id: I0fa4a1907a9def4ba7dc1348f57299cd578fdf87
2015-03-23 17:55:23 -07:00
Elliott Hughes
031fa81b2d
Remove schedtop.
...
This seems to have only been used before we had top(1).
Change-Id: I6c3e5dad19754cf00a07161d2b93093dc0fe7c08
2015-03-19 13:53:59 -07:00
Elliott Hughes
1b9cc5b2e1
Remove obsolete smd tool.
...
It's basically "echo" with a redirect, and it hasn't been touched since
cupcake. Could be replaced with a shell script if need be.
Change-Id: I75b663ea4be3d7cd9581faa6ef3979de28e68dfb
2015-03-16 13:47:14 -07:00
Stephen Smalley
d4b2d8923f
Remove getsebool/setsebool from init and toolbox.
...
These were leftovers from the SELinux boolean support that
was originally merged. Since Android prohibits SELinux policy
booleans, we can just drop it.
Change-Id: I02f646a7d8db65e153702205b082b87a73f60d73
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-03-13 14:01:58 -04:00
Elliott Hughes
965ec3e1d7
am 6385d626: Merge "Remove toolbox\'s obsolete \'wipe\' command."
...
* commit '6385d626a585017ec1fe4027f4faa79741f9d117':
Remove toolbox's obsolete 'wipe' command.
2015-03-07 19:24:25 +00:00
Elliott Hughes
bfa9d6a3c4
Remove toolbox's obsolete 'wipe' command.
...
It hasn't worked in some time (it removes /data/dalvik-cache, which is
required by art), and if you're prepared to reboot (to let init put back
all the directories a working system needs) there are other ways to wipe
data (such as "fastboot format userdata reboot").
Bug: 19644330
Change-Id: Ib074ea21cc28409a506d66d75060bb4ad85539e2
2015-03-07 11:07:10 -08:00
Elliott Hughes
daef336718
am 830914a4: Merge "Lose touch to toybox."
...
* commit '830914a4b6c42d04004e2ec3ff38823f6be8c23f':
Lose touch to toybox.
2015-02-10 16:52:50 +00:00
Elliott Hughes
c6fa276515
Lose touch to toybox.
...
Change-Id: Id9646ff10870425fc4013aab6621a5f6a0c6e98e
2015-02-09 14:10:44 -08:00
Elliott Hughes
05d8a22c2d
am 051f369a: Merge "Build BSD grep separately from toolbox."
...
* commit '051f369a14a405dc6dbaf708dc51a21c5629bf88':
Build BSD grep separately from toolbox.
2015-02-05 18:47:23 +00:00
Elliott Hughes
d20218e05d
Build BSD grep separately from toolbox.
...
Also move the dd-only library code into the dd section (so a future
maintainer will know to keep/remove them as a block) and fix the one
build warning remaining.
Change-Id: Ibf6b28ef05e4cbb70b9308b0f4387f5af5b7fa94
2015-02-04 18:50:14 -08:00
Elliott Hughes
f8eac2ffc6
am ce34551c: Merge "Lose id to toybox."
...
* commit 'ce34551ce6559fe97043a26e3df65396c91bdffc':
Lose id to toybox.
2015-01-17 03:50:05 +00:00
Elliott Hughes
1bf5054342
Lose id to toybox.
...
Change-Id: I0b92482d06055207e133112e74c58964c7ef0362
2015-01-16 19:24:26 -08:00
Elliott Hughes
f5a6c6bbb5
am 17e2f436: Merge "Lose cmp to toybox."
...
* commit '17e2f436f0da70673498482921a642c8917677aa':
Lose cmp to toybox.
2015-01-15 23:55:45 +00:00
Elliott Hughes
b546991685
Lose cmp to toybox.
...
Change-Id: Ib8b078565e4951f7621d21fbe3573bfcf2435879
2015-01-15 14:59:22 -08:00
Elliott Hughes
d5c46b6370
am 3d7951d4: Merge "Lose chown to toybox."
...
* commit '3d7951d4a43af35fc7d61a8a69fb2acf4bc50f1b':
Lose chown to toybox.
2015-01-15 22:58:23 +00:00
Elliott Hughes
6eb88b2c1d
Lose chown to toybox.
...
Change-Id: Ic56addb183ce7f1d289b807527047c37924c1aa6
2015-01-15 13:47:00 -08:00
Elliott Hughes
776158fed3
am 41341eea: Merge "Lose date to toybox (as date and hwclock)."
...
* commit '41341eea6b32b1c3012a976cfb75704007c39449':
Lose date to toybox (as date and hwclock).
2015-01-15 00:42:41 +00:00
Elliott Hughes
587e30c91c
am 3bb5654a: Merge "Lose ifconfig to toybox."
...
* commit '3bb5654a46f062b87f6bdbbf8b8945bc9e99947b':
Lose ifconfig to toybox.
2015-01-14 20:24:51 +00:00
Elliott Hughes
f8bf054fab
Lose date to toybox (as date and hwclock).
...
Change-Id: I7015454edd2240413d93509a96ad884592fcaae9
2015-01-14 12:24:23 -08:00
Elliott Hughes
e5efa98207
am da3dec3c: Merge "Lose toolbox notify in favor of toybox inotifyd."
...
* commit 'da3dec3c19d1489f5997aea9dafd34b68c2b515b':
Lose toolbox notify in favor of toybox inotifyd.
2015-01-14 19:14:12 +00:00
Elliott Hughes
f84994ba0d
Lose ifconfig to toybox.
...
Change-Id: Id3fd2898e137d3a70a3dc5ed65689ef5e029c8cd
2015-01-14 11:05:05 -08:00
Elliott Hughes
c5d17fde1e
am 4503a145: Merge "Switch to toybox cat."
...
* commit '4503a1450ce9b2ed86fd9bd3eb3c34c845e8ed08':
Switch to toybox cat.
2015-01-14 18:56:07 +00:00