Update milis-kurulum.py
This commit is contained in:
parent
ddddcffb2f
commit
e427c527ec
|
@ -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 /dev/' + part + '` none swap sw 0 0" | tee -a /etc/fstab')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue