Update testkurulum.py
This commit is contained in:
		
							parent
							
								
									4f400d14f8
								
							
						
					
					
						commit
						8566429efb
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -154,13 +154,13 @@ def formatPart(part):
 | 
				
			||||||
def mountTarget(target):
 | 
					def mountTarget(target):
 | 
				
			||||||
	os.system("mount "+target+" /mnt")
 | 
						os.system("mount "+target+" /mnt")
 | 
				
			||||||
	log.write('[+] Hedef mount edildi.')
 | 
						log.write('[+] Hedef mount edildi.')
 | 
				
			||||||
	d.infobox(title="Adım 3: Dosya kopyalama",text="Hedef disk sorunsuzca bağlandı. Şimdi dosyalar kopyalanacak !!",width=70)
 | 
					 | 
				
			||||||
	time.sleep(5)
 | 
					 | 
				
			||||||
	applySettings()
 | 
						applySettings()
 | 
				
			||||||
 | 
						d.infobox(title="Adım 4: Dosya kopyalama",text="Hedef disk sorunsuzca bağlandı. Şimdi dosyalar kopyalanacak !!",width=70)
 | 
				
			||||||
 | 
						time.sleep(3)	
 | 
				
			||||||
	copySystemFiles(target)
 | 
						copySystemFiles(target)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def applySettings():
 | 
					def applySettings():
 | 
				
			||||||
	status,hostname = d.inputbox(title="Adım 1: Kullanıcı İşlemleri",text="Hostname'i bilgisayar adı olarak düşünebilirsiniz. Bu ismi ağ cihazlarında ya da konsolda çalışırken görebilirsiniz. Lütfen hostname giriniz: ",width=70)
 | 
						status,hostname = d.inputbox(title="Adım 3: Konfigürasyonlar",text="Hostname'i bilgisayar adı olarak düşünebilirsiniz. Bu ismi ağ cihazlarında ya da konsolda çalışırken görebilirsiniz. Lütfen hostname giriniz: ",width=70)
 | 
				
			||||||
	os.system("echo '{}' > /etc/hostname".format(hostname))
 | 
						os.system("echo '{}' > /etc/hostname".format(hostname))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue