mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-23 02:14:12 +00:00
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> (backported from b291517fdf5a698726fe94010055ec90d85f365a)
This commit is contained in:
parent
d275b30414
commit
ac7c30708f
@ -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*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user