mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
buybox: fix init script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4af9373863
commit
3a1d2c6912
@ -29,7 +29,7 @@
|
||||
|
||||
INSTALLED_MEMORY=`cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2}'`
|
||||
|
||||
if [ $INSTALLED_MEMORY -le 500000 -a -f $HOME/.config/swapon]; then
|
||||
if [ $INSTALLED_MEMORY -le 500000 -a -f $HOME/.config/swapon ]; then
|
||||
|
||||
if [ ! -f $HOME/.cache/swapfile ]; then
|
||||
progress "creating swapfile"
|
||||
|
Loading…
x
Reference in New Issue
Block a user