summarylogtreecommitdiffstats
path: root/netmap.install
blob: 8d51c7c2d75a834e456f2c3134ceb85ce9f652fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_common() {
    depmod -a
    echo ">>> Netmap patched NIC drivers have been installed with"
    echo ">>> a '_netmap.ko' suffix, so that they don't replace the"
    echo ">>> official ones provided by the linux package."
    echo ">>> You should therefore manually unload the official ones and"
    echo ">>> load the patched ones."
    echo ">>> Alternatively, you can use /etc/modules-load.d/ and"
    echo ">>> /etc/modprobe.d/ to automatically load patched drivers and"
    echo ">>> blacklist the official ones."
}

## arg 1:  the new package version
post_install() {
    post_common
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
    post_common
}

## arg 1:  the old package version
post_remove() {
    post_common
}