1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/bin/bash # We're passed the version of the kernel being installed inst_kern=$1 if [ -x /etc/init.d/dkms_autoinstaller ]; then if which invoke-rc.d >/dev/null 2>&1 ; then invoke-rc.d dkms_autoinstaller start $inst_kern else /etc/init.d/dkms_autoinstaller start $inst_kern fi fi exit 0 |