kopia lustrzana https://github.com/Links2004/x6100-armbian
fix Timezone for APP
rodzic
f5f03a70b4
commit
97d4452910
|
@ -27,6 +27,8 @@ if [ "$1" == "start" ] ; then
|
||||||
touch /root/qtkmsconfig.json
|
touch /root/qtkmsconfig.json
|
||||||
mount -o bind,ro /root/qtkmsconfig.json /mnt/x6100/etc/qtkmsconfig.json
|
mount -o bind,ro /root/qtkmsconfig.json /mnt/x6100/etc/qtkmsconfig.json
|
||||||
|
|
||||||
|
mount -o bind,ro /etc/timezone /mnt/x6100/etc/timezone
|
||||||
|
|
||||||
#mount -o bind,ro /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_pulse.so /mnt/x6100/usr/lib/alsa-lib/libasound_module_pcm_pulse.so
|
#mount -o bind,ro /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_pulse.so /mnt/x6100/usr/lib/alsa-lib/libasound_module_pcm_pulse.so
|
||||||
#mount -o bind,ro /root/asound_x6100_app.conf /mnt/x6100/etc/asound.conf
|
#mount -o bind,ro /root/asound_x6100_app.conf /mnt/x6100/etc/asound.conf
|
||||||
|
|
||||||
|
|
|
@ -56,4 +56,6 @@ mount -o bind ${CAT_DEV_NEW} /mnt/x6100${CAT_DEV}
|
||||||
|
|
||||||
echo 1 > /sys/class/gpio/gpio138/value
|
echo 1 > /sys/class/gpio/gpio138/value
|
||||||
|
|
||||||
chroot /mnt/x6100 /bin/bash -c 'source /etc/profile && nice --5 /usr/app_qt/x6100_ui_v100'
|
TZ=$(cat /etc/timezone)
|
||||||
|
|
||||||
|
chroot /mnt/x6100 /bin/bash -c "source /etc/profile && export TZ=${TZ} && nice --5 /usr/app_qt/x6100_ui_v100"
|
||||||
|
|
Ładowanie…
Reference in New Issue