From 134257426d2d7827cf34d9ab403c6a7ef78cb72c Mon Sep 17 00:00:00 2001 From: booty-bumping <> Date: Mon, 23 Sep 2019 01:34:04 -0600 Subject: [PATCH] make sure config is saved after setting routes --- OpenOS/etc/rc.d/minitel.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenOS/etc/rc.d/minitel.lua b/OpenOS/etc/rc.d/minitel.lua index 28148dc..3a1d74d 100644 --- a/OpenOS/etc/rc.d/minitel.lua +++ b/OpenOS/etc/rc.d/minitel.lua @@ -268,7 +268,9 @@ end function set_route(to,laddr,raddr) cfg.sroutes[to] = {laddr,raddr,0} + saveconfig() end function del_route(to) cfg.sroutes[to] = nil + saveconfig() end