The init.sh is moved to generic_x86 for common usage.
setkeycode 0xe025 172
setkeycode 0xe027 1
-
-service userinit /system/bin/sh /system/etc/init.sh
- oneshot
- disabled
-
-on property:dev.bootcomplete=1
- start userinit
PRODUCT_PACKAGES := $(THIRD_PARTY_APPS)
PRODUCT_COPY_FILES := \
- $(LOCAL_PATH)/init.sh:system/etc/init.sh \
$(LOCAL_PATH)/asound.conf:system/etc/asound.conf \
$(call inherit-product,$(SRC_TARGET_DIR)/product/generic_x86.mk)
+++ /dev/null
-PATH=/system/bin:/system/xbin
-
-DMIPATH=/sys/class/dmi/id
-
-board=`cat $DMIPATH/product_name`
-case "$board" in
- *)
- alsa_amixer set Master on
- ;;
-esac
-
-alsa_amixer set Master 100
-alsa_amixer set Headphone 100
-alsa_amixer set Speaker 100