move modules.d stuff in /etc/init.d/S10boot and make it more like /etc/modules
[openwrt.git] / target / default / target_skeleton / etc / init.d / S10boot
index 9904807..47a255d 100755 (executable)
@@ -25,7 +25,7 @@ touch /var/log/lastlog
   }
 }
 
   }
 }
 
-sed 's/^[^#]/insmod &/' /etc/modules 2>&-|ash
+cat /etc/modules /etc/modules.d/* | sed 's/^[^#]/insmod &/' 2>&-|ash
 
 ifconfig lo 127.0.0.1 up
 ifconfig eth0 promisc
 
 ifconfig lo 127.0.0.1 up
 ifconfig eth0 promisc
This page took 0.031729 seconds and 4 git commands to generate.