diff --git a/Makefile b/Makefile index 93fd80f..e9af99d 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-udp2raw PKG_VERSION:=1.0.0 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_LICENSE:=GPLv3 PKG_LICENSE_FILES:=LICENSE diff --git a/files/root/etc/init.d/udp2raw b/files/root/etc/init.d/udp2raw index 17c8230..96de10e 100644 --- a/files/root/etc/init.d/udp2raw +++ b/files/root/etc/init.d/udp2raw @@ -67,6 +67,7 @@ create_config() { [ -n "$lower_level" ] && echo "--lower-level ${lower_level}" >> $config_file [ -n "$source_ip" ] && echo "--source-ip ${source_ip}" >> $config_file [ -n "$source_port" ] && echo "--source-port ${source_port}" >> $config_file + echo "--retry-on-error" >> $config_file [ -n "$log_level" ] && echo "--log-level ${log_level}" >> $config_file echo "--disable-color" >> $config_file diff --git a/files/root/etc/init.d/udp2raw.init b/files/root/etc/init.d/udp2raw.init index bbd55b1..b955b62 100644 --- a/files/root/etc/init.d/udp2raw.init +++ b/files/root/etc/init.d/udp2raw.init @@ -66,6 +66,7 @@ create_config() { [ -n "$lower_level" ] && echo "--lower-level ${lower_level}" >> $config_file [ -n "$source_ip" ] && echo "--source-ip ${source_ip}" >> $config_file [ -n "$source_port" ] && echo "--source-port ${source_port}" >> $config_file + echo "--retry-on-error" >> $config_file [ -n "$log_level" ] && echo "--log-level ${log_level}" >> $config_file echo "--disable-color" >> $config_file