summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-07-17 22:39:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-07-18 17:56:09 +0200
commit4b047ad61e53066e6c5d96f0f79ea3f194938c84 (patch)
treed013d95d52f0aff49897295cbd72d85452c5a6d2 /services
parent258848ace2bcecf1ae6c3b7b433805b18fbd37d0 (diff)
Add a module auto loading service
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am2
-rw-r--r--services/modules.in7
2 files changed, 8 insertions, 1 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index 75ab76d..4cad483 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -6,7 +6,7 @@ init_DATA += services/sigterm services/sync services/devfs
init_DATA += services/sysfs services/procfs services/tmpfs
init_DATA += services/vfs services/ifrename services/ifcfg
init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
-init_DATA += services/dnsmasq services/ifdown
+init_DATA += services/dnsmasq services/ifdown services/modules
if USYSLOGD
init_DATA += services/usyslogd
diff --git a/services/modules.in b/services/modules.in
new file mode 100644
index 0000000..3e0b69c
--- /dev/null
+++ b/services/modules.in
@@ -0,0 +1,7 @@
+description "load kernel modules"
+type wait
+target boot
+after vfs
+before sysinit
+
+exec "@SCRIPTDIR@/modules_load.sh" \ No newline at end of file