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

Re: recompile 3rd party modules before reboot?





Le 06.03.2014 19:13, Dexter Filmore a écrit :
I use deb7 as a media center base (DVB-S2-PVR with TVheadend and xbmc), but the DVB-S2 module (Technotrend TT-connect S2-3600) needs the tvlinux modules
in order to not have the kernel scream and die when talked to.
Now, each time the kernel gets an upgrade I:
-disable tvheadend
-reboot
-recomplie linuxtv drivers
-reboot again
-set tvheadend to autostart and start it manually for this time.

Now, a lot nicer would be to compile linuxtv before rebooting, but how do I
point it at the new kernel?

Dex

Some other ways to explore than the ones which have already been suggested:

_ add a script into /etc/rc6.d, which is the runlevel dedicated to reboot: https://wiki.debian.org/RunLevel _ if you are a bash user, is to write a ~/.bash_logout file. Of course, it won't have root's rights, except if you login with root.


Reply to: