summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster')
-rwxr-xr-xbitbake/lib/toaster/orm/fixtures/custom_toaster_append.sh_sample49
1 files changed, 49 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/fixtures/custom_toaster_append.sh_sample b/bitbake/lib/toaster/orm/fixtures/custom_toaster_append.sh_sample
new file mode 100755
index 0000000000..8c4e163161
--- /dev/null
+++ b/bitbake/lib/toaster/orm/fixtures/custom_toaster_append.sh_sample
@@ -0,0 +1,49 @@
1#!/bin/bash
2
3# Copyright (C) 2017 Intel Corp.
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12# See the GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18# This is sample software. Rename it to 'custom_toaster_append.sh' and
19# enable the respective custom sections.
20
21verbose=0
22if [ $verbose -ne 0 ] ; then
23 echo "custom_toaster_append.sh:$*"
24fi
25
26if [ "toaster_prepend" = "$1" ] ; then
27 echo "Add custom actions here when Toaster script is started"
28fi
29
30if [ "web_start_postpend" = "$1" ] ; then
31 echo "Add custom actions here after Toaster web service is started"
32fi
33
34if [ "web_stop_postpend" = "$1" ] ; then
35 echo "Add custom actions here after Toaster web service is stopped"
36fi
37
38if [ "noweb_start_postpend" = "$1" ] ; then
39 echo "Add custom actions here after Toaster (no web) service is started"
40fi
41
42if [ "noweb_stop_postpend" = "$1" ] ; then
43 echo "Add custom actions here after Toaster (no web) service is stopped"
44fi
45
46if [ "toaster_postpend" = "$1" ] ; then
47 echo "Add custom actions here after Toaster script is done"
48fi
49