mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
netkit-rwho: Convert to ontarget postinst
Starting the service is something to be done when its booted on target Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -82,8 +82,7 @@ do_install () {
|
||||
mkdir -p -m 755 ${D}${localstatedir}/spool/rwho
|
||||
chown -R rwhod ${D}${localstatedir}/spool/rwho
|
||||
}
|
||||
|
||||
pkg_postinst_${PN}-server() {
|
||||
pkg_postinst_ontarget_${PN}-server() {
|
||||
${sysconfdir}/init.d/rwhod start
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user