ubox: support alternative spellings for modinfo and rmmod
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 29 Sep 2013 11:53:17 +0000 (11:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 29 Sep 2013 11:53:17 +0000 (11:53 +0000)
commitbb95a938ab58d223e987ef19494b6dc6f70beae1
tree3e2a2e60c2f4344c8ffa9b0c7e2f26cbbba3c116
parenta91ab4470fc31fda518af86bd22888852e305b31
ubox: support alternative spellings for modinfo and rmmod

After this change, "rmmod" and "modinfo" works even if the user gives
the file name spelling instead of the kernel internal one, so that e.g.
"rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38252 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/ubox/Makefile