From 5fb24f316df4c91ffe2f9fbbb93700eaff04441f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 27 Dec 2010 22:29:41 +0100 Subject: [PATCH] boot: Change file paths. --- www/boot.py | 6 +++--- www/templates/netboot/menu.cfg | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www/boot.py b/www/boot.py index 6f1cabc1..9f69b6b5 100644 --- a/www/boot.py +++ b/www/boot.py @@ -132,12 +132,12 @@ class Application(tornado.web.Application): self.add_handlers(r"boot.ipfire.org", [ # Configurations - (r"/files/menu.gpxe", MenuGPXEHandler), - (r"/files/menu.cfg", MenuCfgHandler), + (r"/menu.gpxe", MenuGPXEHandler), + (r"/menu.cfg", MenuCfgHandler), (r"/config/([0-9]+)/boot.gpxe", BootGPXEHandler), # Static files - (r"/files/(boot.png|custom.gpxe|premenu.cfg|vesamenu.c32|menu.c32)", + (r"/(boot.png|custom.gpxe|premenu.cfg|vesamenu.c32|menu.c32)", tornado.web.StaticFileHandler, { "path" : self.settings["static_path"] }), ]) diff --git a/www/templates/netboot/menu.cfg b/www/templates/netboot/menu.cfg index bd50075d..83325f8e 100644 --- a/www/templates/netboot/menu.cfg +++ b/www/templates/netboot/menu.cfg @@ -9,7 +9,7 @@ menu color tabmsg * #ffffffff #00000000 * menu vshift 8 menu rows 10 menu helpmsgrow 16 -menu background /files/boot.png +menu background boot.png prompt 0 allowoptions 0 -- 2.47.3