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
#Create Swap File | |
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 | |
#Install Flexget | |
opkg install python python-lib2to3 python-pip python-setuptools python-lxml] | |
mkdir cache | |
easy_install --upgrade transmissionrpc --cache-dir cache |
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
<!-- The contents of this file will be loaded for each web application --> | |
<Context cookies="true" crossContext="true"> | |
<!-- Session persistence is disable by default. To enable for all web | |
apps set the pathname to a non-empty value: | |
<Manager pathname="SESSIONS.ser" /> | |
To enable session persistence for a single web app, add a | |
WEB-INF/context.xml | |
--> |
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 |