Debian Codegraph @

debian/aoetools.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6 configure)
7 if command -v udevadm >/dev/null; then
8 udevadm control --reload || true
9 fi
10 # load the kernel module (as opposed to letting the init script do it)
11 if [ -d /run/systemd/system ]; then
12 /lib/systemd/systemd-modules-load aoetools.conf || true
13 fi
14 ;;
15 abort-upgrade | abort-remove | abort-deconfigure) ;;
16 *)
17 echo "postinst called with unknown argument '$1'"
18 exit 1
19 ;;
20 esac
21
22 #DEBHELPER#
23 exit 0