]>
git.proxmox.com Git - pve-kernel-2.6.32.git/blob - postinst.in
5 # Ignore all invocations except when called on to configure.
6 exit 0 unless $ARGV[0] =~ /configure/;
8 # do nothing if run from proxmox installer
9 exit 0 if -e
"/proxmox_install_mode";
11 my $imagedir = "/boot";
13 my $version = "@@KVNAME@@";
15 system("depmod $version");
17 system("update-initramfs -c -t -b $imagedir -k $version");
19 if (-x
"/usr/sbin/update-grub") {
20 system("/usr/sbin/update-grub");