From 55514e8c63504d210402e1cf13f7ca9ce1208c56 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Fri, 6 Mar 2020 16:25:01 -0700 Subject: [PATCH] package/ser2net: S50ser2net: alsoc heck for new config file format When running ser2net it looks for config files in the legacy conf format and the new yaml format so we need to allow either in the sysv init script. Signed-off-by: James Hilliard Signed-off-by: Peter Korsgaard --- package/ser2net/S50ser2net | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ser2net/S50ser2net b/package/ser2net/S50ser2net index 200dfd0e4d..1b178c18f4 100644 --- a/package/ser2net/S50ser2net +++ b/package/ser2net/S50ser2net @@ -5,7 +5,7 @@ start() { printf "Starting ser2net: " - if [ ! -f /etc/ser2net.conf ] ; then + if [ ! -f /etc/ser2net.conf ] && [ ! -f /etc/ser2net/ser2net.yaml ] ; then echo "no configuration file" exit 1 fi -- 2.30.2