File: glantank-update-kernel

package info (click to toggle)
glantank 1.9
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 36 kB
  • sloc: makefile: 27; sh: 8
file content (12 lines) | stat: -rwxr-xr-x 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e
echo "glantank-update-kernel is deprecated, you should use flash-kernel instead." >&2
if [ -e /etc/kernel-img.conf ] && grep -q glantank-update-kernel /etc/kernel-img.conf
then
	echo "You should update /etc/kernel-img.conf to use flash-kernel." >&2
fi

echo "Running flash-kernel ..." >&2
flash-kernel "$@"