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

Re: Reboot in postinst



[Diogo Kollross]
> Is there a problem in using something like
> 
>   shutdown -r now
> 
> inside a postinst script of a package?

It will probably not do what you want, as the package installation
process might be interrupted, and packages might be left half-way
installed.  Besides, it is a very bad idea.

Why do you want to reboot, and when do you want to do it?



Reply to: