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>
This commit is contained in:
parent
aaf46a8fe2
commit
b291517fdf
1 changed files with 2 additions and 2 deletions
|
@ -75,13 +75,13 @@ list_cpu_idx()
|
||||||
if [ "$(mount | grep /dev/zram0)" ]; then
|
if [ "$(mount | grep /dev/zram0)" ]; then
|
||||||
local line i=1
|
local line i=1
|
||||||
# Hot-add new ZRAM device (if necessary)
|
# Hot-add new ZRAM device (if necessary)
|
||||||
if [ ! -b /dev/zram1 ]; then
|
if [ ! -b /dev/zram1 ]; then
|
||||||
cat /sys/class/zram-control/hot_add
|
cat /sys/class/zram-control/hot_add
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
local line i=0
|
local line i=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while read line; do {
|
while read line; do {
|
||||||
case "$line" in
|
case "$line" in
|
||||||
[Pp]rocessor*)
|
[Pp]rocessor*)
|
||||||
|
|
Loading…
Reference in a new issue