Commits

Christian Specht committed d3820d0

add config value to disable ASCII logo on startup

Comments (0)

Files changed (3)

 	
 	<!-- wait time (in seconds) after info messages -->
 	<waittime value="5"/>
+	
+	<!-- show ASCII logo on startup (0 or 1) -->
+	<showlogo value="1"/>
   
 </copy>
-.\logo
+$config = [xml](get-content .\Config.xml)
 
-$config = [xml](get-content .\Config.xml)
+if ($config.copy.showlogo.value -eq "1")
+{
+	.\logo
+}
 
 $nasdrive = $config.copy.nasdrive.value
 $usbdrive = $config.copy.usbdrive.value
-.\logo
+$config = [xml](get-content .\Config.xml)
 
-$config = [xml](get-content .\Config.xml)
+if ($config.copy.showlogo.value -eq "1")
+{
+	.\logo
+}
 
 $nasdrive = $config.copy.nasdrive.value
 $nasfolder = $nasdrive + $config.copy.nasfolder.value