-
Notifications
You must be signed in to change notification settings - Fork 3
/
rc.8189es.local
43 lines (30 loc) · 891 Bytes
/
rc.8189es.local
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
#!/bin/sh -e
cd /home/root
insmod /home/root/8189es.ko
#insmod /home/root/8723bs.ko
echo 30000 > /proc/sys/vm/min_free_kbytes
echo 2 >/proc/sys/kernel/printk
echo -e "\033[9;0]" > /dev/tty0
echo 0 > /sys/bus/platform/drivers/imx_busfreq/soc\:busfreq/enable
# Starting boot, blink blue
/opt/utils/blink.sh blue || true
/home/root/set_mac.sh || true
# Update zigbee
/opt/utils/zota.sh || true
# Starting button evtest
/opt/app/util/tb.sh &
# Starting wifi, blink magenta
/opt/utils/blink.sh magenta || true
# WiFi
/opt/utils/wifi_start.sh > /dev/null 2>&1 &
# SSH
/etc/init.d/dropbear start &
echo "===================================="
echo "========== start zesp32============="
echo "===================================="
# Starting app, blink green
/opt/utils/blink.sh green || true
cd /opt/app
/opt/app/start.sh &
####################################################
exit 0