ubox: support alternative spellings for modinfo and rmmod
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Sep 2013 11:53:17 +0000 (11:53 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 29 Sep 2013 11:53:17 +0000 (11:53 +0000)
commit4455f107f803834f165ad9d61e75731e938c14ea
tree3e2a2e60c2f4344c8ffa9b0c7e2f26cbbba3c116
parentb37b3f926ef3d170599ba78707566f50d3509f1d
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