~ubuntu-branches/debian/stretch/dkms/stretch

1.1.2 by Mario Limonciello
Import upstream version 2.0.19
1
#!/bin/bash
2
3
# We're passed the version of the kernel being installed
4
inst_kern=$1
5
1.1.12 by Giuseppe Iuculano
Import upstream version 2.1.1.0
6
if [ -f /etc/init/dkms_autoinstaller.conf ]; then
7
    start dkms_autoinstaller KERNEL=$inst_kern >/dev/null
8
elif [ -x /etc/init.d/dkms_autoinstaller ]; then
1.1.11 by Giuseppe Iuculano
Import upstream version 2.1.0.1
9
    if which invoke-rc.d >/dev/null 2>&1 ; then
1.1.10 by Giuseppe Iuculano
Import upstream version 2.0.22.0
10
        invoke-rc.d dkms_autoinstaller start $inst_kern
11
    else
12
        /etc/init.d/dkms_autoinstaller start $inst_kern
13
    fi
14
fi
1.1.2 by Mario Limonciello
Import upstream version 2.0.19
15
exit 0