Update milis-kurulum.py

This commit is contained in:
Furkan Kalkan 2016-10-12 01:21:33 +03:00 committed by GitHub
parent ddddcffb2f
commit e427c527ec
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ def chooseSwap(part):
def setSwap(part): def setSwap(part):
os.system("mkswap "+"/dev/"+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__": if __name__ == "__main__":