#!/mod/bin/jimsh source /mod/var/mongoose/lib/setup require settings.class if {[[settings] epg_style] eq "grid"} { puts -nonewline "/cgi-bin/xepg.jim" } else { puts -nonewline "/epg.shtml" }