restore alsa state when booting
Change-Id: I915105ac186ee25bc9a64724c1e42336f7d80690 Signed-off-by: hertz.wang <wangh@rock-chips.com>
This commit is contained in:
@ -36,8 +36,14 @@ killall hostapd
|
||||
killall dnsmasq
|
||||
killall ueventd
|
||||
|
||||
DUEROS_ALSASTATE_FILE=/data/cfg/asound.state
|
||||
if [ -r $DUEROS_ALSASTATE_FILE ]; then
|
||||
alsactl restore --file=$DUEROS_ALSASTATE_FILE
|
||||
fi
|
||||
aplay /oem/duer/appresources/startup.wav &
|
||||
|
||||
#alsactl -b daemon --file=$DUEROS_ALSASTATE_FILE
|
||||
|
||||
#wpa_supplicant -B -i wlan0 -c /data/cfg/wpa_supplicant.conf
|
||||
#sleep 3
|
||||
#dhcpcd &
|
||||
|
||||
Reference in New Issue
Block a user