Skip to content

Commit

Permalink
add option retry-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
sensec committed Jan 30, 2018
1 parent 13907f0 commit 0fc4992
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions files/root/etc/init.d/udp2raw
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions files/root/etc/init.d/udp2raw.init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fc4992

Please sign in to comment.