From: James Hilliard Date: Fri, 6 Mar 2020 23:25:01 +0000 (-0700) Subject: package/ser2net: S50ser2net: alsoc heck for new config file format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55514e8c63504d210402e1cf13f7ca9ce1208c56;p=buildroot.git 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 --- 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