diff --git a/var/mongoose/cgi-bin/restart.jim b/var/mongoose/cgi-bin/restart.jim index b3e1f96..4b0748b 100755 --- a/var/mongoose/cgi-bin/restart.jim +++ b/var/mongoose/cgi-bin/restart.jim @@ -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 { diff --git a/var/mongoose/lib/epg.class b/var/mongoose/lib/epg.class index a9b16b1..99e582b 100644 --- a/var/mongoose/lib/epg.class +++ b/var/mongoose/lib/epg.class @@ -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" } }