#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
[[ $2 ]] || exit 1
case "$1" in
add)
exec depmod -a "$2"
;;
remove)
exec rm -f /lib/modules/"$2"/modules.{alias{,.bin},builtin.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
;;
*)
exit 0
esac
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 20-grub.install | File | 7.81 KB | 0755 |
|
| 20-grubby.install | File | 2.2 KB | 0755 |
|
| 50-depmod.install | File | 368 B | 0755 |
|
| 50-dracut.install | File | 1.62 KB | 0755 |
|
| 51-dracut-rescue.install | File | 3.61 KB | 0755 |
|
| 60-kdump.install | File | 791 B | 0755 |
|
| 90-loaderentry.install | File | 1.93 KB | 0755 |
|
| 92-tuned.install | File | 1.37 KB | 0755 |
|
| 99-grub-mkconfig.install | File | 1.06 KB | 0755 |
|