Browse Source

Removed extra equalto sign in swap creation

servicefixes
gau1991 10 years ago
parent
commit
c1ef80b8c6
  1. 2
      ee/core/addswap.py

2
ee/core/addswap.py

@ -38,7 +38,7 @@ class EESwap():
"CONF_MAXSWAP=1024")
EEFileUtils.searchreplace(self, "/etc/dphys-swapfile",
"#CONF_SWAPSIZE=",
"CONF_SWAPSIZE==1024")
"CONF_SWAPSIZE=1024")
else:
with open("/etc/dphys-swapfile", 'w') as conffile:
conffile.write("CONF_SWAPFILE=/ee-swapfile\n"

Loading…
Cancel
Save