package/ser2net: check for new config file format
PATCH 1/1 package/ser2net: check 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 <[email protected]>
--- package/ser2net/S50ser2net | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ser2net/S50ser2net +1 -1
@@ -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
Signature · 1 line
2.20.1
PATCH 1/1 package/ser2net: check for new config file format
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James" == James Hilliard <[email protected]> writes:
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 <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard