swap persistent hale getirildi
This commit is contained in:
parent
61acc063d6
commit
ddddcffb2f
|
@ -182,7 +182,7 @@ def chooseSwap(part):
|
|||
|
||||
def setSwap(part):
|
||||
os.system("mkswap "+"/dev/"+part)
|
||||
os.system('echo "`lsblk -ln -o UUID ' + part + '` none swap sw 0 0 | tee -a /etc/fstab')
|
||||
os.system('echo "`lsblk -ln -o UUID ' + part + '` none swap sw 0 0" | tee -a /etc/fstab')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue