kmod.trigger 96 Bytes
Newer Older
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