View Single Post
Old 07-30-2014, 02:01 AM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Things the new script fixes:
  • running "calibre --shutdown-running-calibre" as root doesn't seem particularly useful, unless you happen to be running calibre as root. So now it sudo's to each logged-in user to shutdown.
  • Makes sure you run as root.
  • Prettier messages when calibre is not yet installed. Instead of getting a lot of "bash: ****: command not found".
eschwartz is offline   Reply With Quote