summaryrefslogtreecommitdiffstats
path: root/linux-image.pkg/prerm
blob: 7bc5761caaece5acc8265f46e53ae8064f3ca473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

first=true
for arg in "${@}"; do
	if ${first}; then
		set --
		first=false
	fi
	set -- "${@}" -a "${arg}"
done

run-parts "${@}" /etc/kernel/prerm.d