Skip to content

Commit

Permalink
turris-webapps-tvheadend: fix dynamic config file generation
Browse files Browse the repository at this point in the history
If lan config interface had subnet mask then tvheadend-dynamic generated
wrong lighttpd config file, making it unusable.
  • Loading branch information
muzikr committed Aug 22, 2023
1 parent 4c5529f commit c64db04
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

config_load network
config_get IPADDR lan ipaddr "127.0.0.1"
IPADDR=${IPADDR%/*}

cat << EOF
\$HTTP["url"] =~ "^/tvheadend" {
Expand Down

0 comments on commit c64db04

Please sign in to comment.