From 204f36839adeb89c3d085e751f4ec97ef392b5fc Mon Sep 17 00:00:00 2001 From: hmz007 Date: Fri, 28 Mar 2025 19:32:45 +0800 Subject: [PATCH] rockchip: fix indentation in init.insmod.sh Change-Id: I63826238c3008a0cbdb428b137d2f1a53c46676d --- device/rockchip/common/rootdir/init.insmod.sh | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/device/rockchip/common/rootdir/init.insmod.sh b/device/rockchip/common/rootdir/init.insmod.sh index 10d3aab55ab..5390ba904b2 100755 --- a/device/rockchip/common/rootdir/init.insmod.sh +++ b/device/rockchip/common/rootdir/init.insmod.sh @@ -11,9 +11,9 @@ system_modules="/system_dlkm/lib/modules/modules.load" if [ -f $system_modules ]; then while IFS= read -r name do - if [ -f /system_dlkm/lib/modules/$name ]; then - insmod /system_dlkm/lib/modules/$name - fi + if [ -f /system_dlkm/lib/modules/$name ]; then + insmod /system_dlkm/lib/modules/$name + fi done < $system_modules fi @@ -22,13 +22,13 @@ vendor_modules="/vendor_dlkm/lib/modules/modules.load" if [ -f $vendor_modules ]; then while IFS= read -r name do - if [ -f /vendor_dlkm/lib/modules/$name ]; then - if grep -q $name $wifi_modules; then - continue - else - insmod /vendor_dlkm/lib/modules/$name - fi - fi + if [ -f /vendor_dlkm/lib/modules/$name ]; then + if grep -q $name $wifi_modules; then + continue + else + insmod /vendor_dlkm/lib/modules/$name + fi + fi done < $vendor_modules fi