From f867737dcd2e10ecc3eb55cbe5ec8c0358686145 Mon Sep 17 00:00:00 2001 From: Izaya Date: Fri, 17 Aug 2018 17:43:05 +1000 Subject: [PATCH] fixed the packet routing question --- util/OpenOS/usr/bin/mtcfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/OpenOS/usr/bin/mtcfg.lua b/util/OpenOS/usr/bin/mtcfg.lua index 71ccabd..9e8555d 100644 --- a/util/OpenOS/usr/bin/mtcfg.lua +++ b/util/OpenOS/usr/bin/mtcfg.lua @@ -65,7 +65,7 @@ else -- if not, set the hostname and edit the minitel config file if ops.firstrun then -- if --firstrun, quit now io.write("Should this machine route packets?\nThis should be disabled on large networks.\n\nRoute packets? [Y/n]: ") - local rp = io.read:lower():sub(1,1) + local rp = io.read():lower():sub(1,1) if rp == "n" then cfg.route = false end