OSDN Git Service

remove unnecessary code
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 3 Feb 2012 13:04:26 +0000 (21:04 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 3 Feb 2012 13:04:26 +0000 (21:04 +0800)
The init.sh is moved to generic_x86 for common usage.

brazos/init.amd_brazos.rc
common/generic_amd.mk
common/init.sh [deleted file]

index a11620d..e2521a4 100644 (file)
@@ -6,10 +6,3 @@ on boot
 
     setkeycode 0xe025 172
     setkeycode 0xe027 1
-
-service userinit /system/bin/sh /system/etc/init.sh
-    oneshot
-    disabled
-
-on property:dev.bootcomplete=1
-    start userinit
index d1a5c14..d0d4ed8 100644 (file)
@@ -1,7 +1,6 @@
 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)
diff --git a/common/init.sh b/common/init.sh
deleted file mode 100644 (file)
index bf26158..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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