[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reboot in postinst



On Thu, Jan 20, 2005 at 03:09:46PM -0300, Diogo Kollross wrote:
> Is there a problem in using something like
> 
>   shutdown -r now
> 
> inside a postinst script of a package?

  Definately.

  Even if the package requires a reboot to work you should let the
 administrator choose when that should be done.

  (Even kernel upgrades, or module upgrades, draw the line at this
 they just tell you a reboot is "strongly recommended").

Steve
--
# Debian System Administration
www.debian-administration.org/



Reply to: