summaryrefslogtreecommitdiff
path: root/update-modules/update-modules_1.0.oe
blob: 0d445224e75af410ff030f519163811171b8957b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Script to manage module configuration files"
PACKAGE_ARCH = "all"
PR = "r2"

SRC_URI = "file://update-modules"

pkg_postinst() {
if [ "x$D" != "x" ]; then
	exit 1
fi
update-modules
/etc/init.d/modutils
}

do_install() {
	install -d ${D}${sbindir}
	install ${WORKDIR}/update-modules ${D}${sbindir}
}