Mercurial > hg > toybox
comparison toys/other/lsmod.c @ 1775:57f2a26fa92c draft toast
To ensure that toybox can be installed alongside busybox without
confusing update-alternatives, the paths of the links installed by toybox should
match those installed by busybox. This is accomplished by changing the flags
of a few tools within toybox.
author | Paul Barker <paul@paulbarker.me.uk> |
---|---|
date | Sat, 04 Apr 2015 11:58:06 -0500 |
parents | 786841fdb1e0 |
children |
comparison
equal
deleted
inserted
replaced
1774:014a5e821603 | 1775:57f2a26fa92c |
---|---|
1 /* lsmod.c - Show the status of modules in the kernel | 1 /* lsmod.c - Show the status of modules in the kernel |
2 * | 2 * |
3 * Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com> | 3 * Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com> |
4 | 4 |
5 USE_LSMOD(NEWTOY(lsmod, NULL, TOYFLAG_BIN)) | 5 USE_LSMOD(NEWTOY(lsmod, NULL, TOYFLAG_SBIN)) |
6 | 6 |
7 config LSMOD | 7 config LSMOD |
8 bool "lsmod" | 8 bool "lsmod" |
9 default y | 9 default y |
10 help | 10 help |