Hi Rob, List, Three new toy's patches are attached here with.
1. inotifyd - watch for filesystem events.
2. rfkill - enable/disable the radio devices
e.g. Wireless adapter, Bluetooth devices...
3. sulogin - Single-user login. This required a minor change in
__lib/password.c__
to capture an EOF scenario.
@@ -79,7 +79,7 @@
int ret = read(0, &buff[i], 1);
- if ( ret < 0 ) {
+ if ( (ret < 0) || (!ret && !i) ) {
buff[0] = 0;
Your inputs will make the code better. :)
NB: For commands having TOYFLAG_NEEDROOT set,
toybox shouts for __Need root__ even for __--help__ option.
e.g. [toybox]$ ./toybox sulogin --help
toybox: Not root
regards,
Ashwini
sulogin.c.patch
Description: Binary data
inotifyd.c.patch
Description: Binary data
rfkill.c.patch
Description: Binary data
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
