From 94be2b83c7b686d97ec6d38f052fb6ca5ce1ea5a Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 10 Apr 2022 14:53:09 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 4ed452090..5bed3ab73 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -24,6 +24,15 @@ else echo "" fi +# Source function library. +if [ -f /etc/init.d/functions ];then + . /etc/init.d/functions +fi + +if [ -f /etc/rc.d/init.d/functions ];then + . /etc/rc.d/init.d/functions +fi + export LC_ALL="en_US.UTF-8"