-
Notifications
You must be signed in to change notification settings - Fork 8
/
launch_openpilot.sh
executable file
·45 lines (43 loc) · 1.48 KB
/
launch_openpilot.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/bash
#
#if [ ! -f "/system/fonts/opensans_regular.ttf" ]; then
# sleep 3
# mount -o remount,rw /system
#
# cp -rf /data/openpilot/installer/fonts/opensans* /system/fonts/
# cp -rf /data/openpilot/installer/fonts/fonts.xml /system/etc/fonts.xml
# chmod 644 /system/etc/fonts.xml
# chmod 644 /system/fonts/opensans*
#
# cp /data/openpilot/installer/fonts/bootanimation.zip /system/media/
#
# mount -o remount,r /system
#
# setprop persist.sys.locale ko-KR
# setprop persist.sys.local ko-KR
# setprop persist.sys.timezone Asia/Seoul
#
# echo =================================================================
# echo Ko-KR NanumGothic font install complete
# echo Ko-KR locale change complete
# echo Bootanimation change complete
# echo =================================================================
# echo Reboot Now..!!
# echo =================================================================
# reboot
#fi
#
#if [ ! -f "/data/BOOTLOGO" ]; then
# /usr/bin/touch /data/BOOTLOGO
# if $(grep -q "letv" /proc/cmdline); then
# # lepro bootlogo
# dd if=/data/openpilot/installer/fonts/splash.img of=/dev/block/bootdevice/by-name/splash
# else
# # op3t bootlogo
# dd if=/data/openpilot/installer/fonts/logo.bin of=/dev/block/bootdevice/by-name/LOGO
# fi
# echo =================================================================
# echo Comma boot logo change complete
#fi
export PASSIVE="0"
exec ./launch_chffrplus.sh