Last active
April 4, 2019 22:18
-
-
Save leonardobsjr/8e48e60f0cd77bd48e6c8d8c99beb692 to your computer and use it in GitHub Desktop.
Creating Swap File for AsusWrt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Taken from https://mydevtutorials.wordpress.com/2014/01/10/how-to-activate-swap-on-asus-rt-ac68u-router/ | |
dd if=/dev/zero of=/tmp/mnt/sda1/myswap.swp bs=1k count=262144 | |
mkswap /tmp/mnt/sda1/myswap.swp | |
#Add next line on /jffs/scripts/post-mount | |
swapon /tmp/mnt/sda1/myswap.swp | |
#Recuperar backup do Flexget | |
cat admin > /var/spool/cron/crontabs/admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment