summaryrefslogtreecommitdiff
path: root/init.bullhead.fp.rc
diff options
context:
space:
mode:
authorVineeta Srivastava <vsrivastava@google.com>2015-04-14 22:10:30 -0700
committerVineeta Srivastava <vsrivastava@google.com>2015-04-15 09:06:55 -0700
commitcec9bdbb87453078d24955ebd2a83493d1f94073 (patch)
treeafbbe9926eaf4c2a09c0a873a186d654b9ec2c1d /init.bullhead.fp.rc
parent2713ae3b3077d30ac40bc3071ea4a2808e5b996c (diff)
downloadbullhead-cec9bdbb87453078d24955ebd2a83493d1f94073.tar.gz
bullhead: add support for fingerprint
Change-Id: I86d086b6c45e7f265434eb1cd47aa615818d0156
Diffstat (limited to 'init.bullhead.fp.rc')
-rw-r--r--init.bullhead.fp.rc22
1 files changed, 22 insertions, 0 deletions
diff --git a/init.bullhead.fp.rc b/init.bullhead.fp.rc
new file mode 100644
index 0000000..ae0f750
--- /dev/null
+++ b/init.bullhead.fp.rc
@@ -0,0 +1,22 @@
+#
+# Copyright 2015 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+on boot
+ chown system system /dev/fpc1020
+ chmod 660 /dev/fpc1020
+
+on post-fs-data
+ mkdir /data/fpc_tpl 770 system system