add epg -day and rsv commit when necessary

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@305 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2011-08-25 20:30:13 +00:00
parent 945c6d1b4b
commit 3559a430ab
2 changed files with 5 additions and 2 deletions

View File

@ -19,8 +19,10 @@ if {[cgi_get now] eq "yes"} {
file delete /tmp/.restartpending
header
# Commit pending reservations.
rsv commit
# Commit pending reservations on older mod versions.
if {![file exists /sbin/rsvsync] && ![file exists /mod/boot/rsvsync]} {
rsv commit
}
puts {
<link href=/css/jquery.progressbar.css rel=stylesheet type=text/css />

View File

@ -291,6 +291,7 @@ proc {epg exec} {mode args} {
-service { lappend cmd -S $args($arg) }
-event { lappend cmd -E $args($arg) }
-time { lappend cmd -@ $args($arg) }
-day { lappend cmd -/ $args($arg) }
-extra { set extra $args($arg) }
default { error "Invalid option, $arg" }
}