swap_fix
This commit is contained in:
parent
1607afb78b
commit
b30ab554be
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ for i in $(cat /root/onstart | grep "firewall")
|
||||||
do echo "$i" >> /root/onstart-new
|
do echo "$i" >> /root/onstart-new
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "cryptdisks_start cryptswap1" >> /root/onstart-new
|
||||||
|
echo "swapon -a" >> /root/onstart-new
|
||||||
|
|
||||||
chmod +x /root/onstart-new
|
chmod +x /root/onstart-new
|
||||||
|
|
||||||
mv /root/onstart /root/onstart-old
|
mv /root/onstart /root/onstart-old
|
||||||
|
|
Loading…
Reference in a new issue