From 66337e4026a5dedf6aa1c29b8f5fd19213fa485d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 16 Nov 2013 14:56:25 +0100 Subject: [rootfs-stage32] enable zram swap --- .../data/opt/openslx/scripts/systemd-setup_partitions | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'remote/rootfs') diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions index e5e00c66..0f419366 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions @@ -160,11 +160,7 @@ if [ "$(mount | grep -c "on /tmp ")" = "0" ]; then fi # Add zram swap -# !!!!!!!! -# DISABLED FOR NOW AS UBUNTU HAS A BUG THAT LEADS TO SYSTEM FREEZES! -# !!!!!!!! -exit 0 -# !!!!!!!! +[ "$(uname -r)" == "3.8.13.8-openslx" ] && exit 0 CPUS=$(grep -c -E "^processor.*[0-9]+$" /proc/cpuinfo) if [ -z "$CPUS" ]; then echo "ERROR: Could not determine CPU core count" -- cgit v1.2.3-55-g7522