summaryrefslogtreecommitdiff
path: root/package/system/procd
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-05-03 08:27:40 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-05-29 23:08:22 +0200
commit25d1a24e584758bcb19921d237fb93fa1e800a07 (patch)
tree08a4794cdf926fb817fa517fdbc832ea850b5d0e /package/system/procd
parentaaeb42b3e2d7c8ee1e6ec78b7e2e43f19b56a42b (diff)
downloadmtk-20170518-25d1a24e584758bcb19921d237fb93fa1e800a07.zip
mtk-20170518-25d1a24e584758bcb19921d237fb93fa1e800a07.tar.gz
mtk-20170518-25d1a24e584758bcb19921d237fb93fa1e800a07.tar.bz2
procd: clean up trailing whitespace in nand.sh
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/system/procd')
-rw-r--r--package/system/procd/files/nand.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh
index 01dba61..b5f86e0 100644
--- a/package/system/procd/files/nand.sh
+++ b/package/system/procd/files/nand.sh
@@ -194,7 +194,7 @@ nand_upgrade_prepare_ubi() {
nand_do_upgrade_success() {
local conf_tar="/tmp/sysupgrade.tgz"
-
+
sync
[ -f "$conf_tar" ] && nand_restore_config "$conf_tar"
echo "sysupgrade successful"
@@ -231,7 +231,7 @@ nand_upgrade_ubifs() {
local rootfs_length=`(cat $1 | wc -c) 2> /dev/null`
nand_upgrade_prepare_ubi "$rootfs_length" "ubifs" "0" "0"
-
+
local ubidev="$( nand_find_ubi "$CI_UBIPART" )"
local root_ubivol="$(nand_find_volume $ubidev rootfs)"
ubiupdatevol /dev/$root_ubivol -s $rootfs_length $1