aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorSamuel Casa <samuel.casa@neratec.com>2018-08-07 10:49:22 +0200
committerJo-Philipp Wich <jo@mein.io>2018-09-24 19:08:59 +0200
commitb291517fdf5a698726fe94010055ec90d85f365a (patch)
tree60d54655548466aa32f977b2554d9a3aec3cf6f0 /package/system
parentaaf46a8fe23eca959164c1681ab3a37c6e746b05 (diff)
downloadupstream-b291517fdf5a698726fe94010055ec90d85f365a.tar.gz
upstream-b291517fdf5a698726fe94010055ec90d85f365a.tar.bz2
upstream-b291517fdf5a698726fe94010055ec90d85f365a.zip
zram-swap: remove trailing whitespaces in init script
Signed-off-by: Samuel Casa <samuel.casa@neratec.com> [slightly reword subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system')
-rw-r--r--package/system/zram-swap/files/zram.init4
1 files changed, 2 insertions, 2 deletions
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*)