Rewrite xbmc-restart