]>
Commit | Line | Data |
---|---|---|
c8b04a65 SM |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | case "${1}" in | |
6 | configure) | |
7 | if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ] | |
8 | then | |
9 | update-initramfs -u | |
10 | fi | |
824b5807 | 11 | if [ -x /bin/systemctl ]; then |
37c528ca | 12 | /bin/systemctl daemon-reload 2>&1 || true |
824b5807 | 13 | fi |
c8b04a65 SM |
14 | ;; |
15 | ||
16 | abort-upgrade|abort-remove|abort-deconfigure) | |
17 | ||
18 | ;; | |
19 | ||
20 | *) | |
21 | echo "postinst called with unknown argument \`${1}'" >&2 | |
22 | exit 1 | |
23 | ;; | |
24 | esac | |
25 | ||
26 | #DEBHELPER# | |
27 | ||
28 | exit 0 |