summaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
diff options
context:
space:
mode:
Diffstat (limited to 'light/android.hardware.light@2.0-service.xiaomi_wayne.rc')
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_wayne.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/light/android.hardware.light@2.0-service.xiaomi_wayne.rc b/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
new file mode 100644
index 0000000..0ebe09b
--- /dev/null
+++ b/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
@@ -0,0 +1,9 @@
+on boot
+ # Notification LED
+ chown system system /sys/class/leds/red/blink
+ chown system system /sys/class/leds/red/brightness
+
+service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_wayne
+ class hal
+ user system
+ group system