aboutsummaryrefslogtreecommitdiffstats
path: root/tdf-postinst-udeb/debian/postinst
blob: fc933d334dd6342077f97bcabec2be8dca1a859e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -ue

if [ "$1" = 'configure' ]; then
    # Linux >=3.16 mixes output from the VirtIO RNG (/dev/hwrng) into
    # /dev/random hence we no longer need to do this in userspace using
    # `rngd`
    register-module virtio-rng
fi

#DEBHELPER#
exit 0