aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/functions.sh')
-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 dfadfdb2d9..197aef10ef 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