Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / lib / dpkg / info / | server ip : 104.21.89.46 your ip : 172.70.130.20 H O M E |
Filename | /var/lib/dpkg/info/kmod.postinst |
Size | 763 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 10-Apr-2014 22:08 |
Last accessed | 06-Jul-2025 22:36 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/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
# Automatically added by dh_installinit
if [ -x "/etc/init.d/kmod" ]; then
if [ ! -e "/etc/init/kmod.conf" ]; then
update-rc.d kmod start 15 S . >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f kmod remove >/dev/null || exit $?
# End automatically added section
exit 0
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
# Automatically added by dh_installinit
if [ -x "/etc/init.d/kmod" ]; then
if [ ! -e "/etc/init/kmod.conf" ]; then
update-rc.d kmod start 15 S . >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f kmod remove >/dev/null || exit $?
# End automatically added section
exit 0