2009-11-13 01:35:46 +00:00
|
|
|
post_install() {
|
|
|
|
echo 'Are you sure you want to upgrade the kernel?'
|
2009-11-21 19:37:59 +00:00
|
|
|
echo 'Press ENTER to continue or CTRL+C to cancel.'
|
2009-11-13 01:35:46 +00:00
|
|
|
read enter
|
|
|
|
echo 'Check the U-Boot environment variables! The kernel image is'
|
|
|
|
echo 'located at /boot/uImage just in case you need to flash'
|
|
|
|
echo 'it manually. However, it should have been flashed, so
|
|
|
|
echo 'reboot your plug now.'
|
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade() {
|
|
|
|
echo 'Are you sure you want to upgrade the kernel?'
|
2009-11-21 19:37:59 +00:00
|
|
|
echo 'Press ENTER to continue or CTRL+C to cancel.'
|
2009-11-13 01:35:46 +00:00
|
|
|
read enter
|
|
|
|
echo 'Check the U-Boot environment variables! The kernel image is'
|
|
|
|
echo 'located at /boot/uImage just in case you need to flash'
|
|
|
|
echo 'it manually. However, it should have been flashed, so
|
|
|
|
echo 'reboot your plug now.'
|
|
|
|
}
|
|
|
|
|
|
|
|
post_remove() {
|
|
|
|
KERNEL_VERSION=.*
|
|
|
|
}
|
|
|
|
|
|
|
|
op=$1
|
|
|
|
shift
|
|
|
|
$op $*
|