1.修复后板唤醒时APP没起来的bug

2.提升联网速度和启动速度
This commit is contained in:
张兆鹏 2025-02-14 10:05:16 +08:00
parent 342e1e04c2
commit 6186ae3d8d
5 changed files with 11 additions and 11 deletions

View File

@ -6,8 +6,8 @@
start() {
printf "Starting wifi_deamon....: "
wifi_daemon
sleep 0.2
wifi -o sta
# sleep 0.2
# wifi -o sta
#wifi -a enable
}

View File

@ -14,14 +14,14 @@
# process == program to run
# Startup the system
::sysinit:/etc/preinit
::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -t tmpfs tmpfs /run
# ::sysinit:/etc/preinit
# ::sysinit:/bin/mount -t proc proc /proc
# ::sysinit:/bin/mount -t tmpfs tmpfs /run
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts
::sysinit:/bin/mkdir -p /dev/shm
::sysinit:/bin/mount -a
::sysinit:/bin/hostname -F /etc/hostname
# ::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
#::sysinit:/etc/init.d/rcS
::sysinit:/etc/init.d/rcS boot

View File

@ -564,16 +564,16 @@ mkdir -p /var/lock
#common but slow
set_parts_by_name
mount_sec_storage
# mount_sec_storage
# OTA's configuration is not turned on by default exit returns,
# which does not affect the startup speed
check_update_system_state
mount_usr
[ x"$MOUNT_ETC" = x"1" ] && mount_etc
# [ x"$MOUNT_ETC" = x"1" ] && mount_etc
[ x"$MOUNT_OVERLAY" = x"1" ] && mount_overlay UDISK #choose rootfs_data or UDISK
mount_app
# mount_app
MODULES_DIR="/lib/modules/`uname -r`"
insmod $MODULES_DIR/xr806.ko

View File

@ -15,7 +15,7 @@
# Startup the system
# ::sysinit:/etc/preinit
::sysinit:/bin/mount -t proc proc /proc
# ::sysinit:/bin/mount -t proc proc /proc
# ::sysinit:/bin/mount -t tmpfs tmpfs /run
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts

View File

@ -334,7 +334,7 @@ mkdir -p /var/lock
set_parts_by_name
mount_usr
[ x"$MOUNT_ETC" = x"1" ] && mount_etc
# [ x"$MOUNT_ETC" = x"1" ] && mount_etc
# [ x"$MOUNT_OVERLAY" = x"1" ] && mount_overlay rootfs_data #choose rootfs_data or UDISK
rc_mount