summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage32/data
diff options
context:
space:
mode:
authorJonathan Bauer2018-05-02 13:17:08 +0200
committerJonathan Bauer2018-05-02 13:17:08 +0200
commit4e0a761322c726938d3bca44a53de878c3c5b7ea (patch)
treec0488752f3cd314ab53d752fddcf05161ba1142b /core/rootfs/rootfs-stage32/data
parent[dnbd3] Update commit hash (diff)
downloadmltk-4e0a761322c726938d3bca44a53de878c3c5b7ea.tar.gz
mltk-4e0a761322c726938d3bca44a53de878c3c5b7ea.tar.xz
mltk-4e0a761322c726938d3bca44a53de878c3c5b7ea.zip
[rfs-s32] fix zram devices not being created
Diffstat (limited to 'core/rootfs/rootfs-stage32/data')
-rwxr-xr-xcore/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-zram_swap2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-zram_swap b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-zram_swap
index 3cc5fe22..b5f8a599 100755
--- a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-zram_swap
+++ b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-zram_swap
@@ -20,7 +20,7 @@
# So make sure you're up to date
make_swap () {
- [ $# -ne 2 ] && echo "make_swap: Wrong parameter count $#" && return 1
+ [ $# -ne 3 ] && echo "make_swap: Wrong parameter count $#" && return 1
local USE="$1"
local DEV="$2"
local STREAMS="$3"