summaryrefslogblamecommitdiff
path: root/system/kmod/kmod.trigger
blob: 1693ea1eaeafb3caf22ad6c0d59e35674b06c538 (plain) (tree)
1
2
3
4
5
6
7
8







                                               
#!/bin/sh

for i in "$@"; do
	if [ -d "$i" ]; then
		/sbin/depmod ${i#/lib/modules/}
		fi
done