summarylogtreecommitdiffstats
path: root/dev_scream-dkms.install
blob: 54cf41b15728a9ea6d36004a8162ca94b6053a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
  printf '%s\n' "  -> By default, module 'scream' will be automatically loaded at boot due to '/usr/lib/modules-load.d/scream.conf'. '/dev/scream' should be automatically created."
  printf '\n'
  printf '%s\n' "  -> In order to load the module before reboot, type 'modprobe scream' as root."
  # modprobe scream
}

post_upgrade() {
  printf '%s\n' "  -> Module 'scream' is upgraded. In order to reload the new version before a reboot, type 'rmmod scream && modprobe scream' as root."
}

pre_remove() {
  printf '%s\n' "  -> Unloading module 'scream'."
  rmmod scream
}