aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/initscripts/initscripts_1.%.bbappend
blob: 0600ab2ae7a61b59c4b49c972274a10668865334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
do_install_append() {

	echo                  >> ${D}${sysconfdir}/init.d/functions
	echo success \(\) \{  >> ${D}${sysconfdir}/init.d/functions
	echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
	echo \}               >> ${D}${sysconfdir}/init.d/functions
	echo failure \(\) \{  >> ${D}${sysconfdir}/init.d/functions
	echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
	echo \}               >> ${D}${sysconfdir}/init.d/functions
	echo warning \(\) \{  >> ${D}${sysconfdir}/init.d/functions
	echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
	echo \}               >> ${D}${sysconfdir}/init.d/functions
	echo begin \(\) \{  >> ${D}${sysconfdir}/init.d/functions
	echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
	echo \}               >> ${D}${sysconfdir}/init.d/functions
}