From 75b31696c50eb6afce3c9dff153628c39f7649f3 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Tue, 3 Jan 2012 12:12:07 +0000 Subject: [PATCH] dynamic databases git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@600 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/cgi-bin/db.jim | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/var/mongoose/cgi-bin/db.jim b/var/mongoose/cgi-bin/db.jim index 8cd819c..71769e4 100755 --- a/var/mongoose/cgi-bin/db.jim +++ b/var/mongoose/cgi-bin/db.jim @@ -8,17 +8,8 @@ require altrow puts "Content-Type: text/html" puts "" -set databases { - /var/lib/humaxtv/rsvp.db - /var/lib/humaxtv/rsv.db - /var/lib/humaxtv/setup.db - /var/lib/humaxtv/channel.db - /var/lib/humaxtv/default_channel.db - /var/lib/humaxtv/default_setup.db - /var/lib/humaxtv/rsv_fail.db - /var/lib/humaxtv/tempsetup.db - /mnt/hd2/dms_cds.db -} +set databases [glob /var/lib/humaxtv/*.db] +lappend databases "/mnt/hd2/dms_cds.db" header