FunKey-OS/FunKey/board/funkey/post-build.sh
2019-03-24 23:24:40 +01:00

6 lines
131 B
Bash
Executable File

#!/bin/sh
# Swap
sed -i '/^\/swap/d' "${TARGET_DIR}/etc/fstab"
echo "/swap none swap defaults 0 0" >> "${TARGET_DIR}/etc/fstab"