1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#!/bin/sh -e create_etc_modules() { [ -e /etc/modules ] && return 0 cat <<END > /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. END chmod 644 /etc/modules } case "$1" in configure) create_etc_modules esac #DEBHELPER# exit 0 |