Denys Vlasenko
1a8de6f8a2
init: use applet_name instead of "init" - we can be linuxrc
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-14 03:16:28 +01:00
Denys Vlasenko
18f89128e5
init: for paranoid reasons, restore SIGCONT too.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-14 03:08:30 +01:00
Denys Vlasenko
bcc6ec9b7e
init: fix "while true; do reboot; done" bug. +15 bytes. Closes bug 781
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-14 03:03:29 +01:00
Denys Vlasenko
6be918d0ae
init: make FEATURE_EXTRA_QUIET more consistent. +1 byte
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-14 01:32:11 +01:00
Denys Vlasenko
78fcec4dc7
crond: do not log info messages at LOG_ERR. Closes bug 681. +62 bytes.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-13 17:42:49 +01:00
Denys Vlasenko
aa42d13e32
sort: make sort -o FILE FILE (same FILE) work. Closes bug 785. -3 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-13 02:09:22 +01:00
Denys Vlasenko
31e2e7b863
randomconfig fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-12 02:42:35 +01:00
Denys Vlasenko
1315c30fef
mount: needs find_mount_point.o
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 15:01:54 +01:00
Denys Vlasenko
800ff7cc75
stty: code shrink -44 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 15:00:17 +01:00
Denys Vlasenko
9f5a577a32
stty: fix columns command. closes bug 791.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 14:17:02 +01:00
Denys Vlasenko
d2c879da25
wget: fix signedness in the compare (paranoia only, G.content_len is never < 0)
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 14:12:28 +01:00
Denys Vlasenko
a3aa3e3095
wget: check for close success; fix chunked; do not bother to send QUIT to ftp
...
Also, random fixes to use %u for unsigned quantities. -14 bytes in wget.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 12:36:10 +01:00
Denys Vlasenko
4662de0511
replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 02:21:10 +01:00
Denys Vlasenko
8656676a21
mount: "already mounted" msg appears only if -v
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-10 21:32:28 +01:00
Denys Vlasenko
46a1477107
ash: trivial optimization -6 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-10 21:27:13 +01:00
Souf Oued
11a802a0fa
lsusb: new applet. +400 bytes
...
Signed-off-by: Souf Oued <souf_oued@yahoo.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-07 01:37:34 +01:00
Souf Oued
982bc7176d
lspci: new applet. +573 bytes
...
Signed-off-by: Souf Oued <souf_oued@yahoo.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 17:56:25 +01:00
Denys Vlasenko
f92874e747
replace /bin/mdev with /sbin/mdev
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 15:59:05 +01:00
Denys Vlasenko
a7329667b4
mount: prevent second mount -a from mounting everything again
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 04:25:19 +01:00
Denys Vlasenko
14b0f4feb3
trim usage text. -238 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 02:44:34 +01:00
Denys Vlasenko
e9ac32a067
ash: fix double comma in initializer
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 02:01:25 +01:00
Michael Abbott
359da5e3be
ash: implement set -o pipefail (conditional on bash compat). +39 bytes
...
Signed-off-by: Michael Abbott <michael@araneidae.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-04 23:03:29 +01:00
Denys Vlasenko
285ad155c4
ash: preparatory work for pipefail and code shrink. -44 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-04 23:02:27 +01:00
Denys Vlasenko
7a7b034482
ash: re-enable SIGHUP on entry. Closes bug 771.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-04 04:18:31 +01:00
Michael Abbott
6b5accbfc1
mount: add support for -O list. +44 bytes
...
Signed-off-by: Michael Abbott <michael@araneidae.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-04 03:33:07 +01:00
Denys Vlasenko
6dc0ace109
grep: fix a case when -o loops forever
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-04 02:48:14 +01:00
Denys Vlasenko
6a110c969f
ntpd: remove dynamic dns resolution code, too complex. -69 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-03 00:20:58 +01:00
Denys Vlasenko
7cb1d6ccf3
ntpd: try to avoid DNS requests *during* NTP roundtrip. +23 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 23:46:25 +01:00
Denys Vlasenko
907647fb15
ntpd: implement -x. shrink code a bit. -69 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 23:17:45 +01:00
Denys Vlasenko
4bd5189370
ntpd: fix malloc-too-short bug; code shrink -76 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 13:43:06 +01:00
Denys Vlasenko
ebde6f10fb
ntpd: fix "synced" state detection
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 12:29:06 +01:00
Denys Vlasenko
f91e63cbc3
ntpd: continuing small message tweaks and the like. -29 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 02:30:31 +01:00
Denys Vlasenko
386960a38e
htpd: better logging; removed some unused code and data. -212 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 01:51:24 +01:00
Denys Vlasenko
fae9f499b2
ntpd: make it work w/o -g too :(
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-01 02:32:01 +01:00
Denys Vlasenko
8eda4a9005
ash: straighten up a bit of code in varvalue()
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-30 12:16:17 +01:00
Denys Vlasenko
d0f9d0ed58
touch: needs another fix after last utimes() fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-30 11:36:14 +01:00
Denys Vlasenko
1284774d60
awk: fix an incorrect casting to string (bug 725). -44 bytes.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-30 01:15:04 +01:00
Denys Vlasenko
cdeda16ee4
awk: preparatory patch, no essential code changes. -13 bytes.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-30 01:14:16 +01:00
Denys Vlasenko
dcbfaba264
fix improper utimes usage
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 19:40:36 +01:00
Denys Vlasenko
bf22475e95
tar: add a test for latest fix
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 19:09:29 +01:00
Denys Vlasenko
d43d628f8b
tar: revert part of last change. -39 bytes
...
It looks like GNU "tar cf file file" _does_ save file as if
it is a hardlink, when it meets it for the second time.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 16:28:33 +01:00
Denys Vlasenko
f94c9bf288
tar: fix bug 673 (misdetection of repeated dir as hardlink). +92 bytes
...
While at it, remove many superfluous ops on unpack:
mkdir("."), lots of umask() calls. Can remove more
by caching username->uid.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 07:45:33 +01:00
Denys Vlasenko
2ce42e98d7
ash: more cosmetics and cleanups
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 02:18:13 +01:00
Denys Vlasenko
068d386a6c
ash: cosmetics, no code changes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 01:41:11 +01:00
Denys Vlasenko
76bc2d6deb
ash: remove last "signed char"; make SIT() clearer. -12 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 01:37:46 +01:00
Denys Vlasenko
0337e038a9
ash: randmconfig fix
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29 00:12:30 +01:00
Denys Vlasenko
cd71683ae6
ash: remake strange signed char machinery to be unsigned. -57 bytes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-28 22:14:02 +01:00
Denys Vlasenko
e992bae6f9
*: remove a few more cases of argc usage. -89 bytes.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-28 15:18:53 +01:00
Denys Vlasenko
86cfb70ca5
flash_eraseall: stop using obsolete mtd/jffs2-user.h; code shrink
...
function old new delta
show_progress 68 67 -1
flash_eraseall_main 1007 882 -125
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-126) Total: -126 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-27 13:26:17 +01:00
Denys Vlasenko
160b9ca731
ntpd: make it NOMMU-safe; ash: exclude it on NOMMU builds
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-27 02:35:15 +01:00