#!/bin/sh
tmp=/tmp/kernel-deinstall
cat > $tmp <<EOF
-This program will remove the enhanced power-user Linux kernel
+This program will remove the BFS Linux kernel
and restore the original Nokia kernel.
The settings will be kept but will have no effect.
Warning: This deinstallation method is currently experimental and could lead to a bricked device.
exit 1
fi
dbusmsg "Nokia kernel was restored. Removing enhanced kernel packages..."
-apt-get remove -y kernel-power kernel-power-modules > $tmp
+apt-get remove -y kernel-bfs kernel-bfs-modules > $tmp
ok=$?
cat $tmp
if test $ok = 0; then