From aaaa7d9e87c2d4c355ea4b9a494ce75f2a257419 Mon Sep 17 00:00:00 2001 From: nagumii Date: Mon, 17 Feb 2025 19:43:09 +0200 Subject: [PATCH] Revert runonce swapfile "oops" --- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh index a5df75a..4ba57a2 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh @@ -62,7 +62,7 @@ if [ ! -f /swapfile ]; then # check if swap file already exists chmod 600 /swapfile mkswap /swapfile > /dev/null swapon /swapfile > /dev/null - echo '/swapfile none swap sw 0 0' + echo '/swapfile none swap sw 0 0' | tee -a /etc/fstab > /dev/null log_message "Swap file allocated." else log_message "Swap file already allocated, skipping"