Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed May 15, 2024
2 parents 930fcba + d607389 commit db31ed8
Show file tree
Hide file tree
Showing 18 changed files with 128 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sysroot/b091qp/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/h30ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

HOMEVER=$(cat /home/homever)
HV=${HOMEVER:0:2}

Expand Down
7 changes: 7 additions & 0 deletions sysroot/h51ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/h52ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/h60ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/q321br_lsx/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/q705br/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/qg311r/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/r30gb/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/r35gb/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

HOMEVER=$(cat /home/homever)
HV=${HOMEVER:0:2}

Expand Down
7 changes: 7 additions & 0 deletions sysroot/r40ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/y211ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

HOMEVER=$(cat /home/homever)
HV=${HOMEVER:0:2}

Expand Down
8 changes: 8 additions & 0 deletions sysroot/y213ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

mount -t vfat /dev/mmcblk0 /tmp/sd
if [ "${SUFFIX}" = "y211ga" ] || [ "${SUFFIX}" = "y211ba" ];then
echo "need reset gpio198"
Expand Down
7 changes: 7 additions & 0 deletions sysroot/y21ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/y28ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
8 changes: 8 additions & 0 deletions sysroot/y291ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

mount -t vfat /dev/mmcblk0 /tmp/sd
if [ "${SUFFIX}" = "y211ga" ] || [ "${SUFFIX}" = "y211ba" ] || [ "${SUFFIX}" = "y291ga" ];then
echo "need reset gpio198"
Expand Down
7 changes: 7 additions & 0 deletions sysroot/y29ga/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started

### wifi 8188 ###
if [ "${enable_4g}" = "y" ];then
echo "4g is running...."
Expand Down
7 changes: 7 additions & 0 deletions sysroot/y623/lower_half_init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/sh

# protect against running this script twice and starting up a bunch of duplicate processes
if [ -f /tmp/init_started ]; then
exit
fi

touch /tmp/init_started
sdio_wifi_ssv6158='ssv6158'
sdio_wifi_8189fs='8189fs'
sdio_wifi_hi3881='hi3881'
Expand Down

0 comments on commit db31ed8

Please sign in to comment.