summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/kmod
blob: 18aeedb42cb2fe22095643702c20e1a31a35a6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#INIT 10
[[ $1 = autostart ]] || exit 0

. /etc/functions.sh

load_modules /etc/modules
for f in /etc/modules.d/*; do
	[[ -e $f ]] && load_modules /etc/modules.d/*
	break
done
exit 0