Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Run a script after every kernel update?

  1. #11

    Default Re: Run a script after every kernel update?

    Quote Originally Posted by arvidjaar View Post
    This is done by kernel postinistall script. See
    Code:
    rpm -q --scripts kernel-default
    You're right. So I guess it's impossible to add our own custom scripts to be run after kernel update/installation, right?

  2. #12
    Join Date
    Sep 2012
    Posts
    5,041

    Default Re: Run a script after every kernel update?

    Quote Originally Posted by djatlas View Post
    So I guess it's impossible to add our own custom scripts to be run after kernel update/installation, right?
    You can create dummy RPM package with trigger that is called after kernel install/before kernel remove. Note that script won't receive information about kernel version, only indirectly the information that kernel package is installed/removed.

Page 2 of 2 FirstFirst 12

Posting Permissions

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