#!/mod/bin/jimsh source /mod/webif/lib/setup if {[file exists /tmp/.restartpending]} { require system.class rsv.class if {[rsv count pending] > 0} { puts {
A restart is required in order to complete a scheduling operation.
} if {[system busy]} { puts "Cannot restart whilst box is busy." } else { puts { Restart via the remote control or } } puts {
} } else { system restartpending 0 } }