aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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*)