On 10/20/10 09:55, Denys Vlasenko wrote: > Randonly googled up page, http://man.he.net/man8/add-shell, says: > > add-shell copy /etc/shells to /etc/shells.tmp, add the given shells to > this file if they are not already present, and copy this temporary file > back to /etc/shells.
I didn't bother to look it up... but tinkering around... these two scripts *should* replicate the same behaviour. Combined total is a little over 669 bytes, but it *should* work with existing Busybox binaries. -- Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere.
add-shell.sh
Description: Bourne shell script
rm-shell.sh
Description: Bourne shell script
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox