Results 1 to 4 of 4

Thread: automatically run script after kernel update

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question automatically run script after kernel update

    Hi.

    I'd like to have my own script be executed automatically after doing a Linux kernel update. Is there somewhere i can link into this process that isn't touched by the update itself? The purpose of this idea is to try automate the installation of sound (alsa 1.0.23-2) and video drivers (nvidia from website) that i typically need to do after every kernel update.

    Thanks.

  2. #2
    Join Date
    Mar 2009
    Beans
    141

    Wink Re: automatically run script after kernel update

    Try to create a bash script and put it in /etc/kernel/postinst.d/
    Hope it helps!

    Marcelo.

  3. #3
    Join Date
    Mar 2009
    Beans
    141

    Wink Re: automatically run script after kernel update

    Try to create a bash script and put it in /etc/kernel/postinst.d/

    Also, take a look here: http://www.edugeek.net/forums/script...l-updates.html

    Hope it helps!

    Marcelo.

  4. #4
    Join Date
    Jun 2010
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: automatically run script after kernel update

    Cheers mate - that's exactly what i was looking for.
    That link was a nice find.
    justin

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •