2f6c5e5916f78ee6bfc7a2ff6281e63d564f4372
[kernel-bfs] / kernel-bfs-2.6.28 / debian / kernel-bfs-flasher.preinst
1 #!/bin/sh
2
3 test "$1" = install || exit 0 # upgrades are fine
4 echo "Confirm information text on screen"
5 f=/tmp/kernel-bfs-msg
6 cat > $f <<EOF
7 This will install Linux kernel for BFS/power user,
8 with many additional features and bugfixes.
9 By default, all extra features are disabled
10 but they can be enabled by the user during runtime.
11 For more details please read the package description or
12 visit http://wiki.maemo.org/Kernel_Power
13
14 Warning: The kernel is an essential component of your device
15 and a misconfiguration of it may brick your device 
16 and could require reflashing the firmware in the worst case.
17 This kernel, however, is very stable and installation should be safe.
18
19 If you want keep the current kernel, cancel the installation now
20 by tapping the blurred area above this dialog.
21
22 After the installation, you need to unplug the USB cable,
23 completely shutdown your device, and start it again.
24 EOF
25 maemo-confirm-text "Linux kernel for BFS/power user" $f
26 res=$?
27 rm -f $f
28 exit $res