]> git.ipfire.org Git - thirdparty/dracut.git/commit
watchdog/module-setup.sh: rewrite
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Apr 2016 09:27:20 +0000 (11:27 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Apr 2016 09:47:59 +0000 (11:47 +0200)
commit74e2d1e69f5527ab31b01fc19f67143d1f091980
tree09c8f87aec4126846ca901b5b4b9b4550e7c23b0
parentad438af20753e18a9d7231aa88fce26332f90cf3
watchdog/module-setup.sh: rewrite

- use local variables with _
- use associative array for the kernel modules
- install emergency hook even in the systemd case
- follow device path until /sys is reached
- set kernel version for modprobe checking
modules.d/04watchdog/module-setup.sh