[openwrt/openwrt] kernel: netsupport: replace insmod by modprobe

LEDE Commits lede-commits at lists.infradead.org
Tue Sep 27 08:18:03 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4cc7011da02d31574b297817936ccd02d6a94f69

commit 4cc7011da02d31574b297817936ccd02d6a94f69
Author: Manas Sambhus <manas.sambhus+github at gmail.com>
AuthorDate: Sat Jul 9 12:00:25 2022 +0530

    kernel: netsupport: replace insmod by modprobe
    
    Replace insmod by modprobe in TEQL hotplug script
    
    Signed-off-by: Manas Sambhus <manas.sambhus+github at gmail.com>
---
 package/kernel/linux/files/hotplug-sched-teql.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/files/hotplug-sched-teql.sh b/package/kernel/linux/files/hotplug-sched-teql.sh
index a0c0e503aa..2dc4ed4a84 100644
--- a/package/kernel/linux/files/hotplug-sched-teql.sh
+++ b/package/kernel/linux/files/hotplug-sched-teql.sh
@@ -12,7 +12,7 @@ config_get teql $INTERFACE teql
 
 if [ "$teql" != "" ]; then
     logger Adding device $DEVICE to TEQL master $teql
-    insmod sch_teql
+    modprobe sch_teql
     tc qdisc add dev $DEVICE root $teql
 
     # The kernel doesn't let us bring it up until it has at least one




More information about the lede-commits mailing list