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 : 172.67.156.115 your ip : 172.69.130.154 H O M E |
Filename | /var/lib/dpkg/info/module-init-tools.postinst |
Size | 1.01 kb |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 10-Apr-2014 22:08 |
Last accessed | 10-Apr-2014 22:08 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh -e
replace_mit_part2() {
dpkg-maintscript-helper rm_conffile /etc/init.d/module-init-tools 3.16-1 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/modprobe.d/aliases.conf 3.16-1 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init/module-init-tools.conf 9-2ubuntu5 -- "$@"
if [ -d /usr/share/doc/module-init-tools -a \
! -L /usr/share/doc/module-init-tools ]; then
rmdir /usr/share/doc/module-init-tools
ln -s /usr/share/doc/libkmod2 /usr/share/doc/module-init-tools
fi
if [ -e /etc/modprobe.d/aliases.conf.dpkg-bak ]; then
{
cat <<END
### This file was preserved when module-init-tools was replaced by kmod,
### because it contained local modifications.
### Please review this file and remove everything which duplicates the
### contents of /lib/modprobe.d/aliases.conf.
END
cat /etc/modprobe.d/aliases.conf.dpkg-bak
} > /etc/modprobe.d/aliases-m-i-t.conf
rm /etc/modprobe.d/aliases.conf.dpkg-bak
fi
}
case "$1" in
configure)
replace_mit_part2 "$@"
esac
exit 0
replace_mit_part2() {
dpkg-maintscript-helper rm_conffile /etc/init.d/module-init-tools 3.16-1 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/modprobe.d/aliases.conf 3.16-1 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init/module-init-tools.conf 9-2ubuntu5 -- "$@"
if [ -d /usr/share/doc/module-init-tools -a \
! -L /usr/share/doc/module-init-tools ]; then
rmdir /usr/share/doc/module-init-tools
ln -s /usr/share/doc/libkmod2 /usr/share/doc/module-init-tools
fi
if [ -e /etc/modprobe.d/aliases.conf.dpkg-bak ]; then
{
cat <<END
### This file was preserved when module-init-tools was replaced by kmod,
### because it contained local modifications.
### Please review this file and remove everything which duplicates the
### contents of /lib/modprobe.d/aliases.conf.
END
cat /etc/modprobe.d/aliases.conf.dpkg-bak
} > /etc/modprobe.d/aliases-m-i-t.conf
rm /etc/modprobe.d/aliases.conf.dpkg-bak
fi
}
case "$1" in
configure)
replace_mit_part2 "$@"
esac
exit 0