FunKey-OS/FunKey/board/funkey/post-build.sh

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"