summarylogtreecommitdiffstats
path: root/linux-gpib.install
blob: 8409c3d88e965307566e8dfcd8f456732c457ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {

    getent group gpib || groupadd -r gpib
    udevadm control --reload-rules 2>/dev/null

    cat << EOF
===> You must load gpib modules manually before starting gpib_config
===> For example:
===> # modprobe ni_usb_gpib
EOF
}

post_upgrade() {
    echo 'In order to use the new version, reload all gpib modules manually.'
}

post_remove() {
    groupdel gpib >/dev/null 2>&1 || true
}