Bläddra i källkod

Add site_name option

Antony Messerli 9 år sedan
förälder
incheckning
1e819ad3d0
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. 3 0
      src/boot.cfg
  2. 1 1
      src/menu.ipxe

+ 3 - 0
src/boot.cfg

@@ -1,5 +1,8 @@
 #!ipxe
 
+# set site name
+set site_name netboot.xyz
+
 # set boot domain
 set boot_domain cdn.netboot.xyz
 

+ 1 - 1
src/menu.ipxe

@@ -22,7 +22,7 @@ set space:hex 20:20
 set space ${space:string}
 iseq ${arch} i386 && set arch5 i586 || set arch5 ${arch}
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
-menu ${boot_domain} [Local IP: ${netX/ip}]
+menu ${site_name} [Local IP: ${netX/ip}]
 
 item --gap Default:
 item local ${space} Boot from local hdd