From: Samuel Casa Date: Tue, 7 Aug 2018 08:49:22 +0000 (+0200) Subject: zram-swap: remove trailing whitespaces in init script X-Git-Tag: v18.06.2~109 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac7c30708f8be29016bae7490d32405713083fd5;p=oweals%2Fopenwrt.git zram-swap: remove trailing whitespaces in init script Signed-off-by: Samuel Casa [slightly reword subject] Signed-off-by: Jo-Philipp Wich (backported from b291517fdf5a698726fe94010055ec90d85f365a) --- diff --git a/package/system/zram-swap/files/zram.init b/package/system/zram-swap/files/zram.init index 431e47c8f9..17483c8fbc 100644 --- a/package/system/zram-swap/files/zram.init +++ b/package/system/zram-swap/files/zram.init @@ -75,13 +75,13 @@ list_cpu_idx() if [ "$(mount | grep /dev/zram0)" ]; then local line i=1 # Hot-add new ZRAM device (if necessary) - if [ ! -b /dev/zram1 ]; then + if [ ! -b /dev/zram1 ]; then cat /sys/class/zram-control/hot_add fi else local line i=0 fi - + while read line; do { case "$line" in [Pp]rocessor*)