On Fri, Nov 4, 2011 at 4:00 PM, Denys Vlasenko <[email protected]> wrote:
> On Fri, Nov 4, 2011 at 12:41 PM, Natanael Copa <[email protected]>
> wrote:
...
> Looks like it can be implemented as shell script in fewer bytes.
Yeah, and I saw that it has been rejected before for that reason.
Other applets can also be implemented as shell scripts:
add-shell:
grep -q "^${1}$" /etc/shells || echo "${1}" >> /etc/shells
remove-shell:
sed -i -e ":^${1}$:d" /etc/shells
Still, its nice and convenient to have /sbin/nologin shipped and
installed with the rest of the system. And a standalone file takes
minimum 4k of disk space, so please reconsider an inclusion (its
configured off by default for those who prefers shell version)
--
Natanael Copa
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox