OSDN Git Service

Add a hook after boot complete
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Aug 2016 14:20:58 +0000 (22:20 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Aug 2016 14:20:58 +0000 (22:20 +0800)
Vendors could provide a post processing function.

init.sh

diff --git a/init.sh b/init.sh
index e9bbb98..f1af769 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -395,6 +395,8 @@ function do_bootcomplete()
                        alsa_amixer -c $c set 'Internal Mic Boost' 3
                fi
        done
+
+       post_bootcomplete
 }
 
 function do_hci()