From 2285a585453402069185403f48f5de37586348e2 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 15 Jun 2022 19:41:06 +0800
Subject: [PATCH] update pinloop script

---
 bsp/rootfs/files/expand_rootfs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/bsp/rootfs/files/expand_rootfs b/bsp/rootfs/files/expand_rootfs
index 1a9da07..f466123 100755
--- a/bsp/rootfs/files/expand_rootfs
+++ b/bsp/rootfs/files/expand_rootfs
@@ -1,4 +1,10 @@
 #!/bin/sh
+#
+# Copyright (C) 2022 LingYun IoT System Studio
+# Author: Guo Wenxue<guowenxue@gmail.com>
+#
+# This shell script used to expand rootfs partition size to whole TF card space
+#
 
 set -e
 set -u
@@ -26,6 +32,6 @@
 w
 EOF
 
-resize2fs /dev/$ROOT_PART > /dev/null 2>&1 
+resize2fs /dev/$ROOT_PART > /dev/null 2>&1
 
 echo "Expand rootfs size successfully, it will be enlarged upon the next reboot."

--
Gitblit v1.9.1