blob: 4fa78ad81145bcdb76cba198fe71f175a4144988 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
KERNEL_NAME=
KERNEL_VERSION=`/bin/uname -r`
post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
/sbin/depmod $KERNEL_VERSION
# generate init ramdisks
echo ">>> Generating ramdisk, using mkinitcpio. Please wait..."
/sbin/mkinitcpio -p kernel26${KERNEL_NAME}
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
|