forked from hummypkg/webif
d3e7adfd1f
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@161 2a923420-c742-0410-a762-8d5b09965624
13 lines
248 B
Plaintext
Executable File
13 lines
248 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
if { [catch {set fd [open "/mod/mediatomb/config/mediatomb.html" r]} fid] } {
|
|
exit 0
|
|
}
|
|
set data [read $fd]
|
|
close $fd
|
|
regexp {URL=([^"]*)} $data match
|
|
set url [string range $match 4 [string length $match]]
|
|
|
|
puts "<a href=$url>";
|
|
|