Kaydet (Commit) 1f2067e2 authored tarafından Ali Rıza KESKİN's avatar Ali Rıza KESKİN

remove debug shell

üst f4b86ec4
......@@ -24,12 +24,13 @@ overlay_mount(){
debug "Creating overlayfs"
mount -t overlay -o lowerdir=/source/,upperdir=/root/a,workdir=/root/b overlay /rootfs
if [ "$overlay" == "zram" ]; then
modprobe zram num_devices=1 2>/dev/null || true
modprobe zram num_devices=2 2>/dev/null || true
echo $memtotal > /sys/block/zram0/disksize
sh
echo $memtotal > /sys/block/zram1/disksize
mkfs.ext2 /dev/zram0
mkfs.ext2 /dev/zram1
mount -t auto /dev/zram0 /root/a
mount -t tmpfs -o size=100% none /root/b
mount -t auto /dev/zram1 /root/b
else
mount -t tmpfs -o size=100% none /root/b
mount -t tmpfs -o size=100% none /root/a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment