tvheadend: cut subnet from lan IP reported by uci, fix bug #26681
authorMarius Dinu <[email protected]>
Wed, 4 Jun 2025 13:02:46 +0000 (16:02 +0300)
committerJosef Schlehofer <[email protected]>
Sat, 7 Jun 2025 18:26:47 +0000 (20:26 +0200)
commitea07162ee5eac30063ff7678edecc33815ffba93
treeb2636093b35ce8c7a19cebb98e802925a7ce1c09
parentdf98d72e4001c89992ff55eefacf2ba2395737d1
tvheadend: cut subnet from lan IP reported by uci, fix bug #26681

Unannounced modifications (OpenWrt PR 13780) in uci network.lan.ipaddr broke tvheadend init script.
This commit updates the init script to cut the subnet from the ip address reported by uci.

Bug report: #26681

Reported-by: @DonKult
Tested-by: @DonKult
Signed-off-by: Marius Dinu <[email protected]>
multimedia/tvheadend/files/tvheadend.init