summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-04-17 11:30:59 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-04-17 11:32:56 +0200
commit14c78a7dfc27a0f6228a569f407b48a8f020de8d (patch)
tree4c534886c83738306ea1d847f28a692f3fd4a3f0 /package/base-files/files/lib
parent173d93ea23dabf4f08228dc2aaf70a004cf4141c (diff)
downloadmtk-20170518-14c78a7dfc27a0f6228a569f407b48a8f020de8d.zip
mtk-20170518-14c78a7dfc27a0f6228a569f407b48a8f020de8d.tar.gz
mtk-20170518-14c78a7dfc27a0f6228a569f407b48a8f020de8d.tar.bz2
base-files: /lib/functions.sh: remove unused insert_modules
insert_modules has been unused since r5279. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-xpackage/base-files/files/lib/functions.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index dfadfdb..197aef1 100755
--- a/package/base-files/files/lib/functions.sh
+++ b/package/base-files/files/lib/functions.sh
@@ -153,16 +153,6 @@ config_list_foreach() {
done
}
-insert_modules() {
- for m in $*; do
- if [ -f /etc/modules.d/$m ]; then
- sed 's/^[^#]/insmod &/' /etc/modules.d/$m | ash 2>&- || :
- else
- modprobe $m
- fi
- done
-}
-
default_prerm() {
local root="${IPKG_INSTROOT}"
local name