#!/mod/bin/jimsh source /mod/webif/lib/setup require system.class puts "Content-Type: text/html" puts "" set menupath "Settings->System->Internet Setting->Content Share" set dbpath "/mnt/hd2/dms_cds.db" if {[system param DMS_START_ON] || [system is_listening 9000]} { puts "To reset the DLNA Database, disable Content Sharing" puts " in the Humax menus at
" puts "$menupath
" puts "and click the button again." } elseif {![file exists $dbpath]} { puts "The DLNA Database does not exist.
" puts "(already reset?)" } else { file delete $dbpath puts "The DLNA Database has been reset.
" puts "You can now re-enable Content Sharing in the Humax menus." puts "
" puts "$menupath
" }